lorax-templates-qubes: break the build if efiboot.img is too big
Break the build instead of producing broken boot image.
This commit is contained in:
parent
938578c2b2
commit
2f3063da20
@ -63,5 +63,7 @@ install boot/efi/EFI/*/fonts/unicode.pf2 ${EFIBOOTDIR}/fonts/
|
||||
mkdir "${EFIBOOTDIR}/System Volume Information"
|
||||
install "${configdir}/System Volume Information/*" "${EFIBOOTDIR}/System Volume Information/"
|
||||
runcmd umount ${outroot}/${img}
|
||||
# verify if the image is under 32MB (max size of boot image on iso9660)
|
||||
runcmd sh -x -c '[ $(stat -c %s ${outroot}/${img}) -le 33554432 ]'
|
||||
|
||||
</%def>
|
||||
|
Loading…
Reference in New Issue
Block a user