summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-28 13:15:30 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:48 +0100
commit2e2de4361d4549021ab6d62226257d68b88d25fe (patch)
tree78e27f41d6a31cd9b95410504ef143d75e3a3e9e /helpers/lh_chroot_hacks
parent7523992b6a479359b5457b95568a376b3a2ef8e4 (diff)
downloadvyos-live-build-2e2de4361d4549021ab6d62226257d68b88d25fe.tar.gz
vyos-live-build-2e2de4361d4549021ab6d62226257d68b88d25fe.zip
Merging initial and experimental grub2 support from Luigi Capriotti <l.capriotti@xbmc.org>.
Outstanding issues: doesn't work chrooted yet, lh_binary_iso binary.sh modifications probably should be done at lh_binary_grub2.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-xhelpers/lh_chroot_hacks10
1 files changed, 9 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 721a6d79f..cc12630fd 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -124,7 +124,15 @@ then
# late to fix it in d-i because lenny rc2 has been already released.
case "${LH_ARCHITECTURE}" in
amd64|i386|lpia)
- Apt install grub
+ case "${LH_BOOTLOADER}" in
+ grub)
+ Apt install grub
+ ;;
+
+ grub2)
+ Apt install grub2
+ ;;
+ esac
;;
powerpc)