mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +00:00
Install the correct kernels on each arch.
This commit is contained in:
parent
9daf532fd4
commit
ef9f3be0de
@ -536,10 +536,21 @@ if [ "$PROJECT" = "ubuntu-cpc" ]; then
|
|||||||
BINARY_REMOVE_LINUX=false
|
BINARY_REMOVE_LINUX=false
|
||||||
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
||||||
KERNEL_FLAVOURS=none
|
KERNEL_FLAVOURS=none
|
||||||
|
case $ARCH in
|
||||||
|
armhf)
|
||||||
|
add_package install flash-kernel u-boot-tools linux-generic-lpae
|
||||||
|
;;
|
||||||
|
arm64)
|
||||||
|
add_package install flash-kernel linux-generic
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
add_package install linux-virtual
|
||||||
|
;;
|
||||||
|
esac
|
||||||
OPTS="${OPTS:+$OPTS }--system=normal"
|
OPTS="${OPTS:+$OPTS }--system=normal"
|
||||||
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"
|
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"
|
||||||
add_task install minimal standard cloud-image
|
add_task install minimal standard cloud-image
|
||||||
add_package install linux-virtual landscape-client ubuntu-minimal
|
add_package install landscape-client ubuntu-minimal
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_chroot_hook update-apt-file-cache
|
add_chroot_hook update-apt-file-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user