diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-14 08:39:19 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2009-12-14 08:39:19 +0100 |
commit | 69ac868d940723c803a2dcce4e2ac15099588065 (patch) | |
tree | c9cf09d41727d553e9b5dfdcdb300fe6564e5354 | |
parent | bfe2fa483fbbaf4d2c387a6374e75ff043c4e440 (diff) | |
download | vyos-live-build-69ac868d940723c803a2dcce4e2ac15099588065.tar.gz vyos-live-build-69ac868d940723c803a2dcce4e2ac15099588065.zip |
Handling d-i required packages regarding kernel flavours differently on ubuntu.
-rwxr-xr-x | helpers/lh_binary_debian-installer | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 7f5af9556..cb1af389c 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -323,12 +323,30 @@ then case "${LH_ARCHITECTURE}" in amd64) DI_REQ_PACKAGES="lilo grub" - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-amd64" + + case "${LH_MODE}" in + ubuntu) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-generic" + ;; + + *) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-amd64" + ;; + esac ;; i386) DI_REQ_PACKAGES="elilo lilo grub" - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-486 linux-image-2.6-686" + + case "${LH_MODE}" in + ubuntu) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-generic" + ;; + + *) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-486 linux-image-2.6-686" + ;; + esac ;; sparc) |