Upgrade Liveimage kernel
This commit is contained in:
parent
c85f525634
commit
76082fc4a3
|
@ -33,6 +33,8 @@ prepare_iso() {
|
||||||
rmdir ${iso_tempdir} &>/dev/null
|
rmdir ${iso_tempdir} &>/dev/null
|
||||||
sudo cp -a grub.cfg ${tempdir}/installer/boot/grub/grub.cfg &>/dev/null || fail "Error copying grub.cfg file."
|
sudo cp -a grub.cfg ${tempdir}/installer/boot/grub/grub.cfg &>/dev/null || fail "Error copying grub.cfg file."
|
||||||
sudo cp -a menu.cfg ${tempdir}/installer/isolinux/menu.cfg &>/dev/null || fail "Error copying menu.cfg file."
|
sudo cp -a menu.cfg ${tempdir}/installer/isolinux/menu.cfg &>/dev/null || fail "Error copying menu.cfg file."
|
||||||
|
sudo cp -a debootstrap/boot/vmlinuz* ${tempdir}/installer/live/ &>/dev/null || fail "Error copying kernel."
|
||||||
|
sudo cp -a debootstrap/boot/initrd.img** ${tempdir}/installer/live/ || fail "Error copying initrd."
|
||||||
echo "done."
|
echo "done."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
grub.cfg
4
grub.cfg
|
@ -28,8 +28,8 @@ set loopback="findiso=${iso_path}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
menuentry "PVC Live Installer" {
|
menuentry "PVC Live Installer" {
|
||||||
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components splash quiet "${loopback}"
|
linux /live/vmlinuz-4.19.0-5-amd64 boot=live components splash quiet "${loopback}"
|
||||||
initrd /live/initrd.img-4.19.0-4-amd64
|
initrd /live/initrd.img-4.19.0-5-amd64
|
||||||
}
|
}
|
||||||
menuentry "Traditional Debian Installer (graphical)" {
|
menuentry "Traditional Debian Installer (graphical)" {
|
||||||
linux /d-i/gtk/vmlinuz append video=vesa:ywrap,mtrr vga=788 "${loopback}"
|
linux /d-i/gtk/vmlinuz append video=vesa:ywrap,mtrr vga=788 "${loopback}"
|
||||||
|
|
4
menu.cfg
4
menu.cfg
|
@ -3,8 +3,8 @@ MENU title PVC Live Installer
|
||||||
DEFAULT PVC Live Installer
|
DEFAULT PVC Live Installer
|
||||||
LABEL PVC Live Installer
|
LABEL PVC Live Installer
|
||||||
SAY "Booting PVC Live Installer..."
|
SAY "Booting PVC Live Installer..."
|
||||||
linux /live/vmlinuz-4.19.0-4-amd64
|
linux /live/vmlinuz-4.19.0-5-amd64
|
||||||
APPEND initrd=/live/initrd.img-4.19.0-4-amd64 boot=live components splash quiet
|
APPEND initrd=/live/initrd.img-4.19.0-5-amd64 boot=live components splash quiet
|
||||||
|
|
||||||
LABEL Traditional Debian Installer (graphical)
|
LABEL Traditional Debian Installer (graphical)
|
||||||
SAY "Booting Traditional Debian Installer (graphical)..."
|
SAY "Booting Traditional Debian Installer (graphical)..."
|
||||||
|
|
Loading…
Reference in New Issue