mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 22:28:27 +00:00
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
16 lines
416 B
Bash
Executable File
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 )
|