mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 12:47:30 +00:00
22 lines
486 B
Bash
Executable File
22 lines
486 B
Bash
Executable File
#!/bin/bash -ex
|
|
# vi: ts=4 noexpandtab
|
|
#
|
|
# Generate a squashfs root and manifest
|
|
|
|
if [ -n "$SUBARCH" ]; then
|
|
echo "Skipping rootfs build for subarch flavor build"
|
|
exit 0
|
|
fi
|
|
|
|
# This is the directory created by create-root-dir.binary
|
|
rootfs_dir=rootfs.dir
|
|
|
|
squashfs_f="$PWD/livecd.ubuntu-cpc.squashfs"
|
|
|
|
cp $rootfs_dir.manifest $squashfs_f.manifest
|
|
cp $rootfs_dir.filelist $squashfs_f.filelist
|
|
|
|
(cd $rootfs_dir &&
|
|
mksquashfs . $squashfs_f \
|
|
-no-progress -xattrs -comp xz )
|