diff options
author | Daniel Baumann <daniel@debian.org> | 2010-12-13 23:29:07 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:39 +0100 |
commit | 18e123ea16d909402c0ac824d0bc39f0c238660d (patch) | |
tree | deb1cc719fbecceeaf2b6ce006d3d245414c91fe | |
parent | 34c35f2c7a969a2a20b65943f311f3e386a36d37 (diff) | |
download | vyos-live-build-18e123ea16d909402c0ac824d0bc39f0c238660d.tar.gz vyos-live-build-18e123ea16d909402c0ac824d0bc39f0c238660d.zip |
Applying patch from Cody A.W. Somerville <cody.somerville@canonical.com> to update kernel packages for ubuntu in lb_binary_debian-installer.
-rwxr-xr-x | scripts/build/lb_binary_debian-installer | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer index f5ea984da..5a420274b 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -328,7 +328,7 @@ then case "${LB_MODE}" in ubuntu) - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-generic" + DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic" ;; *) @@ -343,7 +343,7 @@ then case "${LB_MODE}" in ubuntu) - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-generic" + DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic" ;; *) @@ -354,12 +354,28 @@ then sparc) DI_REQ_PACKAGES="silo" - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-sparc64 linux-image-2.6-sparc64-smp" + case "${LB_MODE}" in + ubuntu) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-sparc64" + ;; + + *) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-sparc64 linux-image-2.6-sparc64-smp" + ;; + esac ;; powerpc) DI_REQ_PACKAGES="yaboot" - DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-powerpc linux-image-2.6-powerpc64 linux-image-2.6-powerpc-smp" + case "${LB_MODE}" in + ubuntu) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-powerpc linux-image-powerpc64-smp" + ;; + + *) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-powerpc linux-image-2.6-powerpc64 linux-image-2.6-powerpc-smp" + ;; + esac ;; esac |