libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit ffd33dee6b1c415d220c17797fa2949976fc9c67
parent 92f3e3bbbe17b4eb6124ae156ebc28b7f7a88e14
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 27 Oct 2017 20:23:18 +0200

create a tarbomb along with rsyncing the rootfs

Diffstat:
Mzlibs/rsync | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/zlibs/rsync b/zlibs/rsync @@ -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"