summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-22 19:31:51 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-22 19:31:51 +0100
commita03aa6e8123aed342ca0ed3b3faa710442cedf5f (patch)
tree75f8e0ee4d8649643e6f504895e114dda102b460
parent386488c833a007c2fda1011ba2db4e86a0840307 (diff)
downloadvyos-live-build-a03aa6e8123aed342ca0ed3b3faa710442cedf5f.tar.gz
vyos-live-build-a03aa6e8123aed342ca0ed3b3faa710442cedf5f.zip
Removing grub package from binary_debian-installer for wheezy.
-rwxr-xr-xscripts/build/binary_debian-installer16
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/build/binary_debian-installer b/scripts/build/binary_debian-installer
index 7e76f63f1..146c76711 100755
--- a/scripts/build/binary_debian-installer
+++ b/scripts/build/binary_debian-installer
@@ -339,7 +339,13 @@ then
case "${LB_ARCHITECTURES}" in
amd64)
- DI_REQ_PACKAGES="lilo grub grub-pc"
+ DI_REQ_PACKAGES="lilo grub-pc"
+
+ case "${LB_DISTRIBUTION}" in
+ squeeze)
+ DI_REQ_PACAKGES="${DI_REQ_PACKAGES} grub"
+ ;;
+ esac
case "${LB_MODE}" in
ubuntu)
@@ -353,7 +359,13 @@ then
;;
i386)
- DI_REQ_PACKAGES="elilo lilo grub grub-pc"
+ DI_REQ_PACKAGES="elilo lilo grub-pc"
+
+ case "${LB_DISTRIBUTION}" in
+ squeeze)
+ DI_REQ_PACAKGES="${DI_REQ_PACKAGES} grub"
+ ;;
+ esac
case "${LB_MODE}" in
ubuntu)