Applying patch from Cody A.W. Somerville <cody.somerville@canonical.com> to update kernel packages for ubuntu in lb_binary_debian-installer.

This commit is contained in:
Daniel Baumann 2010-12-13 23:28:56 +01:00
parent b97534b112
commit 34ae9036e6
1 changed files with 20 additions and 4 deletions

View File

@ -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,14 +354,30 @@ then
sparc)
DI_REQ_PACKAGES="silo"
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"
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
DI_PACKAGES="${DI_PACKAGES} busybox cryptsetup lvm2"