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