do not include squashfs on ubuntu-mini-iso

This commit is contained in:
michael.hudson@canonical.com 2026-04-01 10:12:33 +13:00
parent 51fa2b9b92
commit cd968f5717
No known key found for this signature in database
GPG Key ID: 80E627A0AB757E23

View File

@ -576,8 +576,10 @@ esac
if [ "${MAKE_ISO}" = "yes" ]; then if [ "${MAKE_ISO}" = "yes" ]; then
# For non-layered builds, create squashfs with cdrom.sources directly # For non-layered builds, create squashfs with cdrom.sources directly
# in casper/. Layered builds already handle this in lb_binary_layered. # in casper/. Layered builds already handle this in lb_binary_layered.
if [ -z "$PASSES" ]; then if [ -z "$PASSES" ] && [ "$PROJECT" != "ubuntu-mini-iso" ]; then
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources if [ -n "${POOL_SEED_NAME}" ]; then
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources
fi
create_squashfs chroot ${CASPER_DIR}/filesystem.squashfs create_squashfs chroot ${CASPER_DIR}/filesystem.squashfs
rm chroot/etc/apt/sources.list.d/cdrom.sources rm chroot/etc/apt/sources.list.d/cdrom.sources
for flavor in $LB_LINUX_FLAVOURS; do for flavor in $LB_LINUX_FLAVOURS; do