2018-06-07 14:23:18 -07:00
|
|
|
#!/bin/bash -ex
|
|
|
|
# vi: ts=4 expandtab
|
|
|
|
#
|
|
|
|
# Generate the rootfs.tar.xz and manifest
|
|
|
|
|
|
|
|
if [ -n "$SUBARCH" ]; then
|
|
|
|
echo "Skipping rootfs build for subarch flavor build"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2019-05-02 15:48:46 -05:00
|
|
|
# This is the directory created by create-root-dir.binary
|
2018-06-07 14:23:18 -07:00
|
|
|
rootfs_dir=rootfs.dir
|
|
|
|
|
|
|
|
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
|
2019-11-27 16:09:55 +13:00
|
|
|
cp $rootfs_dir.filelist livecd.ubuntu-cpc.rootfs.filelist
|
2019-03-19 12:32:25 +01:00
|
|
|
(cd $rootfs_dir/ && tar -c --sort=name --xattrs *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz
|