Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save akamas/b8592d76b07aca7970f5087375833c35 to your computer and use it in GitHub Desktop.
Save akamas/b8592d76b07aca7970f5087375833c35 to your computer and use it in GitHub Desktop.
Snapcraft segmentation fault with multipass
### https://forum.snapcraft.io/t/snapcraft-segmentation-fault-with-multipass/19765
### my snapcraft.yml
name: myapp
base: core18
version: '0.1'
summary: myapp asdfasdfasdf
description: |
myapp asdfasdfasdf
grade: devel
confinement: devmode
apps:
myapp:
command: myapp
plugs:
- network
- network-bind
- home
- desktop
- desktop-legacy
extensions: [gnome-3-34]
parts:
lib:
plugin: nil
source: .
override-build: |
apt-get install software-properties-common -yu
echo "asdfasdf 1"
add-apt-repository -yu ppa:ubuntu-toolchain-r/test
echo "asdfasdf 2"
touch lib.sh
stage-packages:
- libnss3
- libnspr4
# need newer lib, core20 does not support gnome extension yet, therefore using core18 and staging newer std lib
# - libstdc++6
exe:
plugin: nil
source: .
after: [lib]
override-build: |
touch myapp
chmod +x myapp
cp myapp $SNAPCRAFT_PART_INSTALL/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment