mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix aarch64 iso building
This commit is contained in:
parent
a694a9054b
commit
fb4d894709
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ _grub_mkrescue() {
|
|||
# --set_all_file_dates for all files
|
||||
# --modification-date= for boot.catalog
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue