mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
20 lines
454 B
Bash
Executable File
20 lines
454 B
Bash
Executable File
#!/bin/bash -ex
|
|
# vi: ts=4 noexpandtab
|
|
#
|
|
# Generate a squashfs root and manifest
|
|
|
|
if [ -n "$SUBARCH" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
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 )
|