diff --git a/debian/changelog b/debian/changelog index 2728ff8c..4be01d8e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.745ubuntu1) UNRELEASED; urgency=medium + + * Add the capability to build an ISO image for the Intel IoT project. + Additionally, stop using universe with the project given that the kernel + is now in main. + + -- Brian Murray Tue, 16 Nov 2021 16:56:36 -0800 + livecd-rootfs (2.745) jammy; urgency=medium [ Erich Eickmeyer ] diff --git a/live-build/auto/build b/live-build/auto/build index 950d95db..0cb9cf54 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -576,6 +576,9 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do oem-*) FLAVOUR="oem" ;; + image-intel) + FLAVOUR="intel" + ;; esac KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | (fgrep -v .efi || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )" if [ -z "$KVERS" ]; then diff --git a/live-build/auto/config b/live-build/auto/config index c0788bc7..0d3c1b9d 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -707,7 +707,7 @@ case $PROJECT in ;; intel-iot) KERNEL_FLAVOURS='image-intel' - COMPONENTS='main restricted universe' + COMPONENTS='main restricted' OPTS="${OPTS:+$OPTS }--initramfs=none" OPTS="${OPTS:+$OPTS }--system=normal" OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs" @@ -724,6 +724,10 @@ case $PROJECT in add_task install minimal standard ubuntu-desktop add_task live ubuntu-desktop-minimal-default-languages ubuntu-desktop-default-languages KERNEL_FLAVOURS='generic-hwe-20.04' + if [ "$SUBARCH" = "intel-iot" ]; then + KERNEL_FLAVOURS='image-intel' + COMPONENTS='main restricted' + fi ;; esac ;; @@ -923,7 +927,7 @@ case $PROJECT in KERNEL_FLAVOURS=generic elif [ "${SUBARCH:-}" = "intel-iot" ]; then KERNEL_FLAVOURS=image-intel - COMPONENTS='main restricted universe' + COMPONENTS='main restricted' OPTS="${OPTS:+$OPTS }--initramfs=none" fi ;; @@ -1082,8 +1086,9 @@ case $PROJECT in KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}" case $SUBARCH in intel-iot) - COMPONENTS='main restricted universe' + COMPONENTS='main restricted' KERNEL_FLAVOURS='image-intel' + ;; esac ;; esac