mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-15 21:01:47 +00:00
Shell formatting cleanup
This commit is contained in:
parent
605b97de97
commit
ab85167fb5
@ -8,10 +8,8 @@ if [ -n "$SUBARCH" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. config/functions
|
|
||||||
|
|
||||||
# This is the directory created by 031-0-create-root-dir.binary
|
# This is the directory created by 031-0-create-root-dir.binary
|
||||||
rootfs_dir=rootfs.dir
|
rootfs_dir=rootfs.dir
|
||||||
|
|
||||||
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
|
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
|
||||||
(cd "$rootfs_dir/" && tar -c *) | xz > "livecd.ubuntu-cpc.rootfs.tar.xz"
|
(cd $rootfs_dir/ && tar -c *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz
|
||||||
|
@ -20,10 +20,10 @@ fi
|
|||||||
# This is the directory created by 031-0-create-root-dir.binary
|
# This is the directory created by 031-0-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
|
||||||
|
|
||||||
(cd "$rootfs_dir" &&
|
(cd $rootfs_dir &&
|
||||||
mksquashfs . ${squashfs_f} \
|
mksquashfs . $squashfs_f \
|
||||||
-no-progress -xattrs -comp xz )
|
-no-progress -xattrs -comp xz )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user