From e4553137acba9bbd475920dff49194c0fca2f630 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Thu, 12 Nov 2015 14:46:00 -0700 Subject: [PATCH] ubuntu-cpc: generate manifest for root tarball --- live-build/ubuntu-cpc/hooks/031-root-xz.binary | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/live-build/ubuntu-cpc/hooks/031-root-xz.binary b/live-build/ubuntu-cpc/hooks/031-root-xz.binary index b2503adb..a3ee963d 100755 --- a/live-build/ubuntu-cpc/hooks/031-root-xz.binary +++ b/live-build/ubuntu-cpc/hooks/031-root-xz.binary @@ -1,3 +1,9 @@ #!/bin/bash -ex +# vi: ts=4 noexpandtab +# +# Generate the rootfs.tar.gz and manifest + +dpkg-query --admindir=binary/boot/filesystem.dir/var/lib/dpkg -W > livecd.ubuntu-cpc.rootfs.manifest + (cd "binary/boot/filesystem.dir/" && tar -c *) | \ xz > "livecd.ubuntu-cpc.rootfs.tar.xz"