mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 12:47:30 +00:00
17 lines
469 B
Bash
Executable File
17 lines
469 B
Bash
Executable File
#!/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
|
|
|
|
# This is the directory created by create-root-dir.binary
|
|
rootfs_dir=rootfs.dir
|
|
|
|
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
|
|
cp $rootfs_dir.filelist livecd.ubuntu-cpc.rootfs.filelist
|
|
(cd $rootfs_dir/ && tar -c --sort=name --xattrs *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz
|