|
|
@ -8,14 +8,15 @@ if [ -n "$SUBARCH" ]; then
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. config/functions
|
|
|
|
|
|
|
|
|
|
|
|
# This is the directory created by create-root-dir.binary
|
|
|
|
# This is the directory created by create-root-dir.binary
|
|
|
|
rootfs_dir=rootfs.dir
|
|
|
|
rootfs_dir=rootfs.dir
|
|
|
|
|
|
|
|
|
|
|
|
squashfs_f="$PWD/livecd.ubuntu-cpc.squashfs"
|
|
|
|
squashfs_f="$PWD/livecd.ubuntu-cpc.squashfs"
|
|
|
|
|
|
|
|
|
|
|
|
cp $rootfs_dir.manifest $squashfs_f.manifest
|
|
|
|
cp $rootfs_dir.manifest $squashfs_f.manifest
|
|
|
|
cp $rootfs_dir.filelist $squashfs_f.filelist
|
|
|
|
# fstab is omitted from the squashfs
|
|
|
|
|
|
|
|
grep -v '^/etc/fstab$' $rootfs_dir.filelist >$squashfs_f.filelist
|
|
|
|
|
|
|
|
|
|
|
|
(cd $rootfs_dir &&
|
|
|
|
create_squashfs $rootfs_dir $squashfs_f
|
|
|
|
mksquashfs . $squashfs_f \
|
|
|
|
|
|
|
|
-no-progress -xattrs -comp xz )
|
|
|
|
|
|
|
|