livecd-rootfs/live-build/ubuntu-cpc/hooks/032-root-squashfs.binary
Balint Reczey 6be108d847 Import patches-unapplied version 2.408.25 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 4c3694d4a2b50dd2faa9ee66575645d5b3315179

New changelog entries:
  * Sort and list dependencies nicely
  * Depend on packages instead of installing them at run time
  * Use xz -T4 instead of pxz.
    Supported xz versions before 5.2 accept the -T4 option but ignore it.
    Also depend on xz-utils instead of downloading pxz. (LP: #1701132)
2017-12-07 21:00:00 +00:00

18 lines
417 B
Bash
Executable File

#!/bin/bash -ex
# vi: ts=4 noexpandtab
#
# Generate a squashfs root and manifest
if [ -n "$SUBARCH" ]; then
exit 0
fi
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 )