tcreate a tarbomb along with rsyncing the rootfs - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit ffd33dee6b1c415d220c17797fa2949976fc9c67 DIR parent 92f3e3bbbe17b4eb6124ae156ebc28b7f7a88e14 HTML Author: parazyd <parazyd@dyne.org> Date: Fri, 27 Oct 2017 20:23:18 +0200 create a tarbomb along with rsyncing the rootfs Diffstat: M zlibs/rsync | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- DIR diff --git a/zlibs/rsync b/zlibs/rsync t@@ -24,11 +24,15 @@ rsync_to_raw_image() { req=(workdir strapdir bootpart rootpart) ckreq || return 1 - notice "rsyncing strapdir to raw image..." + notice "Preparing to rsync and tar the rootfs..." image_raw_mount silly sleep 1 pushd $strapdir + notice "creating a tarbomb of the rootfs..." + sudo tar czf "$R/dist/${image_name}.tar.gz" . || zerr + + notice "rsyncing strapdir to raw image..." sudo rsync -HPavz -q ./* $workdir/mnt || { image_raw_umount die "not enough space, please report a bug"