fix aarch64 iso building

This commit is contained in:
Tobias Powalowski 2023-01-18 14:47:43 +01:00
parent a694a9054b
commit fb4d894709

View file

@ -242,7 +242,8 @@ _grub_mkrescue() {
# --set_all_file_dates for all files # --set_all_file_dates for all files
# --modification-date= for boot.catalog # --modification-date= for boot.catalog
echo "Generating ${_RUNNING_ARCH} hybrid ISO ..." echo "Generating ${_RUNNING_ARCH} hybrid ISO ..."
grub-mkrescue --set_all_file_dates 'Jan 1 00:00:00 UTC 1970' --modification-date=1970010100000000 --compress=xz --fonts="unicode" --locales="" --themes="" -o "${_IMAGENAME}.iso" "${_ISODIR}"/ "boot/grub/archboot-main-grub.cfg=${_GRUB_CONFIG}" "boot/grub/grub.cfg=/usr/share/archboot/grub/archboot-iso-grub.cfg" -- --rm_r /efi .disk/ mach_kernel /System /boot/grub/{roms,locale} &> "${_IMAGENAME}.log" [[ "${_RUNNING_ARCH}" == "x86_64" ]] && _RESCUE_REMOVE="mach_kernel /System"
grub-mkrescue --set_all_file_dates 'Jan 1 00:00:00 UTC 1970' --modification-date=1970010100000000 --compress=xz --fonts="unicode" --locales="" --themes="" -o "${_IMAGENAME}.iso" "${_ISODIR}"/ "boot/grub/archboot-main-grub.cfg=${_GRUB_CONFIG}" "boot/grub/grub.cfg=/usr/share/archboot/grub/archboot-iso-grub.cfg" -- --rm_r /efi .disk/ /boot/grub/{roms,locale} ${_RESCUE_REMOVE} &> "${_IMAGENAME}.log"
} }
_reproducibility_iso() { _reproducibility_iso() {