fix: Sort filelists creating when building ubuntu-cpc images (LP: #2033677)

The image filelists created during ubuntu-cpc project image builds were not sorted.

Soring the filelists makes it easier to compare the filelists without needing to sort first.
ubuntu/mantic
Philip Roche 1 year ago
parent 322b822087
commit f8bd628c83

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (23.10.30) mantic; urgency=medium
* fix: Sort filelists creating when building ubuntu-cpc images (LP: #2033677)
-- Philip Roche <phil.roche@ubuntu.com> Thu, 31 Aug 2023 18:20:23 +0100
livecd-rootfs (23.10.29) mantic; urgency=medium livecd-rootfs (23.10.29) mantic; urgency=medium
* canary: switch to use the live task, try to use KERNEL_FLAVOURS instead * canary: switch to use the live task, try to use KERNEL_FLAVOURS instead

@ -47,7 +47,7 @@ create_manifest() {
if [ "$PROJECT" = ubuntu-cpc ]; then if [ "$PROJECT" = ubuntu-cpc ]; then
echo "create_manifest creating file listing." echo "create_manifest creating file listing."
local target_filelist=${2%.manifest}.filelist local target_filelist=${2%.manifest}.filelist
(cd "${chroot_root}" && find -xdev) > "${target_filelist}" (cd "${chroot_root}" && find -xdev) | sort > "${target_filelist}"
fi fi
echo "create_manifest finished" echo "create_manifest finished"
} }

Loading…
Cancel
Save