create_squashfs does not work with relative paths :/

This commit is contained in:
michael.hudson@canonical.com 2026-04-01 11:12:22 +13:00
parent 94963d8070
commit 24af8f137c
No known key found for this signature in database
GPG Key ID: 80E627A0AB757E23

View File

@ -580,7 +580,7 @@ if [ "${MAKE_ISO}" = "yes" ]; then
if [ -n "${POOL_SEED_NAME}" ]; then if [ -n "${POOL_SEED_NAME}" ]; then
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources
fi fi
create_squashfs chroot ${CASPER_DIR}/filesystem.squashfs create_squashfs chroot ${PWD}/${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
iso_install_kernel "$flavor" binary/${INITFS}/vmlinu?-* binary/${INITFS}/initrd.img-* iso_install_kernel "$flavor" binary/${INITFS}/vmlinu?-* binary/${INITFS}/initrd.img-*