Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapcraft: make bios-256k.bin optional at prime step #273

Merged
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
8 changes: 7 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -875,13 +875,19 @@ parts:

set +ex
craftctl default

set -ex
# we don't want to take this file from the qemu tree, but instead from the seabios package
rm "${CRAFT_PART_INSTALL}/usr/local/share/qemu/bios-256k.bin"
set +ex
organize:
usr/bin/: bin/
usr/lib/: lib/
usr/local/bin/: bin/
usr/local/lib/: lib/
usr/local/libexec/: bin/
usr/local/share/: share/
usr/share/seabios/bios-256k.bin: share/qemu/
prime:
- bin/genisoimage*
- bin/mkisofs*
Expand All @@ -899,7 +905,7 @@ parts:
- share/qemu/s390-*.img*
- share/qemu/slof.bin*
- share/qemu/vgabios-*.bin*
- share/qemu/bios-256k.bin
- share/qemu/bios-256k.bin*

qemu-ovmf-secureboot:
after:
Expand Down
Loading