Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ package-repositories:
parts:
debs:
plugin: nil
build-packages:
- execstack
stage-packages:
- libdrm2:i386
- libdrm2:amd64
Expand Down Expand Up @@ -83,4 +85,10 @@ parts:
override-prime: |
craftctl default
# Set the snap version from the mesa package version
craftctl set version=$(dpkg-parsechangelog -l $CRAFT_PART_INSTALL/usr/share/doc/mesa-va-drivers/changelog.gz -S Version | cut -c -32)
craftctl set version=$(dpkg-parsechangelog -l $CRAFT_PART_INSTALL/usr/share/doc/mesa-va-drivers/changelog*gz -S Version | cut -c -32)
# Clear execstack
for f in usr/lib/*/libvkd3d-shader.so.* usr/lib/*/libvkd3d.so.*; do
if [ -f $f ]; then
execstack -c $f
fi
done