mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix grub
This commit is contained in:
parent
8229932d91
commit
f183f9aca9
2 changed files with 3 additions and 2 deletions
|
@ -152,7 +152,7 @@ _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/grub-archboot.cfg=${_GRUB_CONFIG}" &> "${_IMAGENAME}.log"
|
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/grub-archboot.cfg=${_GRUB_CONFIG}" "boot/grub/grub.cfg=/usr/share/archboot/grub/grub-iso.cfg" &> "${_IMAGENAME}.log"
|
||||||
}
|
}
|
||||||
|
|
||||||
_reproducibility_iso() {
|
_reproducibility_iso() {
|
||||||
|
|
|
@ -9,6 +9,7 @@ if [ ${grub_platform} == "efi" ]; then
|
||||||
elif [ ${grub_platform} == "pc" ]; then
|
elif [ ${grub_platform} == "pc" ]; then
|
||||||
insmod vbe
|
insmod vbe
|
||||||
insmod vga
|
insmod vga
|
||||||
|
insmod png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
insmod video_bochs
|
insmod video_bochs
|
||||||
|
@ -17,7 +18,7 @@ insmod video_cirrus
|
||||||
insmod font
|
insmod font
|
||||||
insmod serial
|
insmod serial
|
||||||
serial --unit=0 --speed=115200
|
serial --unit=0 --speed=115200
|
||||||
if loadfont /boot/grub/fonts/unicode.pf2 ; then
|
if loadfont unicode ; then
|
||||||
insmod gfxterm
|
insmod gfxterm
|
||||||
set gfxmode="auto"
|
set gfxmode="auto"
|
||||||
terminal_input console serial
|
terminal_input console serial
|
||||||
|
|
Loading…
Reference in a new issue