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.
This commit is contained in:
Philip Roche 2023-08-31 18:26:42 +01:00
parent 322b822087
commit f8bd628c83
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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
* canary: switch to use the live task, try to use KERNEL_FLAVOURS instead

View File

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