Use amd64 EFI GRUB explicitly
This commit is contained in:
parent
99de32211a
commit
751f02df83
|
@ -95,13 +95,13 @@ prepare_iso() {
|
|||
|
||||
prepare_rootfs() {
|
||||
echo -n "Preparing Debian live installation via debootstrap... "
|
||||
SQUASHFS_PKGLIST="mdadm,lvm2,parted,gdisk,debootstrap,grub-pc,grub-efi,linux-image-amd64,sipcalc,live-boot,dosfstools"
|
||||
SQUASHFS_PKGLIST="mdadm,lvm2,parted,gdisk,debootstrap,grub-pc,grub-efi-amd64,linux-image-amd64,sipcalc,live-boot,dosfstools"
|
||||
if [[ ! -d artifacts/debootstrap ]]; then
|
||||
sudo /usr/sbin/debootstrap \
|
||||
--include=${SQUASHFS_PKGLIST} \
|
||||
buster \
|
||||
artifacts/debootstrap/ \
|
||||
http://localhost:3142/ftp.ca.debian.org/debian &>/dev/null || fail "Error performing debootstrap."
|
||||
http://localhost:3142/ftp.ca.debian.org/debian &>debootstrap.log || fail "Error performing debootstrap."
|
||||
sudo chroot artifacts/debootstrap/ apt clean &>/dev/null || fail "Error cleaning apt cache in debootstrap."
|
||||
fi
|
||||
sudo rsync -au artifacts/debootstrap/ ${tempdir}/rootfs/ &>/dev/null || fail "Error copying debootstrap to tempdir."
|
||||
|
|
|
@ -8,7 +8,7 @@ fi
|
|||
logfile="/tmp/pvc-install.log"
|
||||
debrelease="buster"
|
||||
debmirror="http://debian.mirror.rafal.ca/debian"
|
||||
debpkglist="lvm2,parted,gdisk,grub-pc,grub-efi,linux-image-amd64,sudo,vim,gpg,gpg-agent,aptitude,openssh-server"
|
||||
debpkglist="lvm2,parted,gdisk,grub-pc,grub-efi-amd64,linux-image-amd64,sudo,vim,gpg,gpg-agent,aptitude,openssh-server"
|
||||
|
||||
clear
|
||||
|
||||
|
|
Loading…
Reference in New Issue