|
|
@ -802,11 +802,21 @@ case $PROJECT in
|
|
|
|
add_task install minimal standard cloud-image
|
|
|
|
add_task install minimal standard cloud-image
|
|
|
|
add_package install ubuntu-minimal
|
|
|
|
add_package install ubuntu-minimal
|
|
|
|
KERNEL_FLAVOURS=virtual
|
|
|
|
KERNEL_FLAVOURS=virtual
|
|
|
|
case $ARCH in
|
|
|
|
|
|
|
|
armhf|arm64|ppc64el|powerpc)
|
|
|
|
case $ARCH+${SUBARCH:-} in
|
|
|
|
|
|
|
|
armhf+raspi|arm64+raspi)
|
|
|
|
|
|
|
|
# Generic Raspberry Pi images
|
|
|
|
|
|
|
|
COMPONENTS='main restricted universe multiverse'
|
|
|
|
|
|
|
|
add_task install ubuntu-server-raspi
|
|
|
|
|
|
|
|
add_package install u-boot-rpi u-boot-tools
|
|
|
|
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
armhf*|arm64*|ppc64el*|powerpc*)
|
|
|
|
add_task install server
|
|
|
|
add_task install server
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
@ -869,6 +879,12 @@ case $SUBPROJECT in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $ARCH in
|
|
|
|
|
|
|
|
armhf|arm64)
|
|
|
|
|
|
|
|
KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
# we'll expand the base seed given here according to the STRUCTURE file, and
|
|
|
|
# we'll expand the base seed given here according to the STRUCTURE file, and
|
|
|
|
# then look in all of the seeds found to see which snaps are seeded
|
|
|
|
# then look in all of the seeds found to see which snaps are seeded
|
|
|
|
case $PROJECT:${SUBPROJECT:-} in
|
|
|
|
case $PROJECT:${SUBPROJECT:-} in
|
|
|
@ -937,27 +953,6 @@ case $PROJECT in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
case $ARCH in
|
|
|
|
|
|
|
|
armhf|arm64)
|
|
|
|
|
|
|
|
KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}"
|
|
|
|
|
|
|
|
case $SUBARCH in
|
|
|
|
|
|
|
|
raspi)
|
|
|
|
|
|
|
|
# Generic Raspberry Pi images
|
|
|
|
|
|
|
|
COMPONENTS='main restricted universe multiverse'
|
|
|
|
|
|
|
|
add_package install linux-firmware-raspi2 u-boot-rpi flash-kernel u-boot-tools wpasupplicant
|
|
|
|
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
imx6)
|
|
|
|
|
|
|
|
COMPONENTS='main restricted universe multiverse'
|
|
|
|
|
|
|
|
KERNEL_FLAVOURS=generic
|
|
|
|
|
|
|
|
add_package install flash-kernel u-boot-tools wpasupplicant
|
|
|
|
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $PROJECT:${SUBPROJECT:-} in
|
|
|
|
case $PROJECT:${SUBPROJECT:-} in
|
|
|
|
ubuntu-server:*|ubuntu-base:*)
|
|
|
|
ubuntu-server:*|ubuntu-base:*)
|
|
|
|
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
|
|
|
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
|
|
|