wsl.binary: Add comment about tar usage

sil2100/enable-universe-none
Balint Reczey 6 years ago
parent 9479a4eb9e
commit 2bb15e03f4

@ -45,6 +45,10 @@ if [ -d $rootfs_dir/var/log/journal ]; then
setfattr -x system.posix_acl_default $rootfs_dir/var/log/journal setfattr -x system.posix_acl_default $rootfs_dir/var/log/journal
fi fi
# The reason not using just tar .. -C $rootfs_dir . is that using '.' was found
# not working once and checking if using the simpler command is safe needs
# verification of the app installation on all Windows 10 builds we support
# with WSL.
cd $rootfs_dir cd $rootfs_dir
tar --xattrs --sort=name -czf ../livecd.ubuntu-cpc.wsl.rootfs.tar.gz * tar --xattrs --sort=name -czf ../livecd.ubuntu-cpc.wsl.rootfs.tar.gz *
cd .. cd ..

Loading…
Cancel
Save