Merge branch 'skia/fix_manifest_artifact' into ubuntu/master

https://code.launchpad.net/~skia/livecd-rootfs/+git/livecd-rootfs/+merge/503356
This commit is contained in:
Florent 'Skia' Jacquet 2026-04-08 16:11:23 +02:00
commit 344a43bb0c
2 changed files with 14 additions and 5 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
livecd-rootfs (26.04.29) UNRELEASED; urgency=medium
* Make sure to produce a manifest for all images (LP: #2147522)
-- Florent 'Skia' Jacquet <skia@ubuntu.com> Wed, 08 Apr 2026 14:00:47 +0200
livecd-rootfs (26.04.28) resolute; urgency=medium
* Switch arm64 mirror from ports to archive. (LP: #2147101)

View File

@ -559,13 +559,16 @@ fi
# Create manifest unconditionally (needed for both ISO and non-ISO builds).
if [ -e "binary/$INITFS/filesystem.manifest" ]; then
ln "binary/$INITFS/filesystem.manifest" "$PREFIX.manifest"
chmod 644 "$PREFIX.manifest"
fi
# '--initramfs none' produces different manifest names.
if [ -e "binary/$INITFS/filesystem.packages" ]; then
elif [ -e "binary/$INITFS/filesystem.packages" ]; then
# '--initramfs none' produces different manifest names.
ln "binary/$INITFS/filesystem.packages" "$PREFIX.manifest"
chmod 644 "$PREFIX.manifest"
elif [ -n "$PASSES" ]; then
# For layered images, keep the manifest of the last pass
for _PASS in $PASSES; do
ln -f "${CASPER_DIR}/$_PASS.manifest.full" "$PREFIX.manifest"
done
fi
chmod 644 "$PREFIX.manifest"
# Since snaps are now Ubuntu first-class citizen, so always try fetching the
# list of seeded snaps into the manifest. In case of layered images we skip
# this step, as we assume they're doing it on their own at some earlier stage.