Don't fail to install the system on BIOS systems.

ubuntu/focal
Simon Quigley 7 years ago
parent b6b5a401a9
commit d96be61861

6
debian/changelog vendored

@ -1,3 +1,9 @@
calamares-settings-ubuntu (4) UNRELEASED; urgency=medium
* Don't fail to install the system on BIOS systems.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 09 Jul 2018 17:51:16 -0500
calamares-settings-ubuntu (3) cosmic; urgency=medium
* Bump Standards-version to 4.1.4, no changes needed.

@ -2,4 +2,4 @@ dontChroot: true
timeout: 60
script:
- "cp /cdrom/casper/vmlinuz @@ROOT@@/boot/vmlinuz-$(uname -r)"
- "[ -d /sys/firmware/efi ] && chroot @@ROOT@@ apt-cdrom add && chroot @@ROOT@@ sed -e '/deb http/ s/^#*/#/' -i /etc/apt/sources.list && chroot @@ROOT@@ apt update && chroot @@ROOT@@ apt -y install grub-efi-amd64-bin && chroot @@ROOT@@ sed -i 's/#deb/deb/' /etc/apt/sources.list"
- "[ -d /sys/firmware/efi ] && chroot @@ROOT@@ apt-cdrom add && chroot @@ROOT@@ sed -e '/deb http/ s/^#*/#/' -i /etc/apt/sources.list && chroot @@ROOT@@ apt update && chroot @@ROOT@@ apt -y install grub-efi-amd64-bin && chroot @@ROOT@@ sed -i 's/#deb/deb/' /etc/apt/sources.list || exit 0"

Loading…
Cancel
Save