livecd-rootfs/live-build/ubuntu-cpc/hooks/032-root-squashfs.binary
Oliver Grawert 1bffb76250 Import patches-unapplied version 2.357 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 7ff03ccdbb51cad4157fd101150690249d2ac60b

New changelog entries:
  * merge lp:~utlemming/livecd-rootfs/additional-cloud-targets:
  * added additional CPC build targets:
    - added manifest generation for squashfs and root.tar.gz
    - added VMDK generation
    - added OVA generation from VMDK's
    - added generic Vagrant image generation
2015-11-16 15:04:00 +00:00

16 lines
416 B
Bash
Executable File

#!/bin/bash -eux
# vi: ts=4 noexpandtab
#
# Generate a squashfs root and manifest
apt-get -qqy install squashfs-tools
squashfs_f="${PWD}/livecd.ubuntu-cpc.squashfs"
squashfs_f_manifest="${squashfs_f}.manifest"
dpkg-query --admindir=binary/boot/filesystem.dir/var/lib/dpkg -W > ${squashfs_f_manifest}
(cd "binary/boot/filesystem.dir/" &&
mksquashfs . ${squashfs_f} \
-no-progress -xattrs -comp xz )