[neon/neon/livecd-rootfs/Neon/release-lts] live-build/buildd/hooks: Create manifests for buildd tarballs

Cody Shepherd null at kde.org
Fri Mar 12 10:45:26 GMT 2021


Git commit 7af37be61ae3b3defa2a451707d67370a8192d2e by Cody Shepherd.
Committed on 03/02/2021 at 15:27.
Pushed by jriddell into branch 'Neon/release-lts'.

Create manifests for buildd tarballs

M  +4    -0    live-build/buildd/hooks/50-buildd-tar.binary
M  +4    -0    live-build/buildd/hooks/51-buildd-lxd.binary

https://invent.kde.org/neon/neon/livecd-rootfs/commit/7af37be61ae3b3defa2a451707d67370a8192d2e

diff --git a/live-build/buildd/hooks/50-buildd-tar.binary b/live-build/buildd/hooks/50-buildd-tar.binary
index c9c4663a..88947a07 100755
--- a/live-build/buildd/hooks/50-buildd-tar.binary
+++ b/live-build/buildd/hooks/50-buildd-tar.binary
@@ -4,6 +4,10 @@
 # ourselves.
 set -e
 
+. config/functions
+
+create_manifest chroot "livecd.$PROJECT.rootfs.tar.gz.manifest"
+
 # gzip was chosen for fastest decompression speed: it decompresses buildd
 # chroots about twice as fast as xz and about five times as fast as bzip2.
 tar --transform='s,^chroot,chroot-autobuild,' --sort=name --numeric-owner \
diff --git a/live-build/buildd/hooks/51-buildd-lxd.binary b/live-build/buildd/hooks/51-buildd-lxd.binary
index 44b38213..d0ff69a6 100755
--- a/live-build/buildd/hooks/51-buildd-lxd.binary
+++ b/live-build/buildd/hooks/51-buildd-lxd.binary
@@ -3,12 +3,16 @@
 set -e
 
 . config/bootstrap
+. config/functions
 
 TMPDIR="$(mktemp -d)"
 config/make-lxd-metadata "${LB_DISTRIBUTION%-*}" "$ARCH" \
 	>"$TMPDIR/metadata.yaml"
 tar --numeric-owner -cf "livecd.$PROJECT.lxd.tar" -C "$TMPDIR" metadata.yaml
 rm -rf "$TMPDIR"
+
+create_manifest chroot "livecd.$PROJECT.lxd.tar.manifest"
+
 # When using the combined metadata/rootfs form, the rootfs must be under
 # rootfs/ rather than under chroot-autobuild/.
 tar --transform='s,^chroot,rootfs,' --sort=name --numeric-owner \



More information about the Neon-commits mailing list