diff options
-rwxr-xr-x | scripts/build/binary_debian-installer | 16 |
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) |