ubuntu-cpc: generate manifest for root tarball

This commit is contained in:
Ben Howard 2015-11-12 14:46:00 -07:00
parent a40cfd6180
commit e4553137ac

View File

@ -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"