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

This commit is contained in:
Simon Quigley 2018-07-09 17:52:53 -05:00
parent b6b5a401a9
commit d96be61861
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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.

View File

@ -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"