URI: 
       tTry to get tarballs to actually work when booted. - 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 7108866f0d6c95c93e22ec758582a5516d2cc6a6
   DIR parent 353f4daea8f3dec9f76d43b270b6d340c73080d0
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Mon, 15 Jun 2020 16:26:53 +0200
       
       Try to get tarballs to actually work when booted.
       
       Diffstat:
         M zlibs/bootstrap                     |      11 +++++++----
         M zlibs/imaging                       |       6 ++++--
         M zlibs/rsync                         |       4 ++--
       
       3 files changed, 13 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/zlibs/bootstrap b/zlibs/bootstrap
       t@@ -1,5 +1,5 @@
        #!/usr/bin/env zsh
       -# Copyright (c) 2016-2017 Dyne.org Foundation
       +# Copyright (c) 2016-2020 Dyne.org Foundation
        # libdevuansdk maintained by Ivan J. <parazyd@dyne.org>
        #
        # This file is part of libdevuansdk
       t@@ -161,8 +161,11 @@ bootstrap_tar_pack() {
                        pushd ${strapdir}
                        mkdir -p ${_dest}
                        silly
       -                sudo tar czfp $bootstrap_tgz \
       -                        --exclude={./boot,./dev,./sys,./proc} .
       +                sudo tar czfp "$bootstrap_tgz" . \
       +                        --xattrs \
       +                        --xattrs-include=security.capability \
       +                        --xattrs-include=user.pax.flags \
       +                        --exclude={./boot,./dev,./sys,./proc} || zerr
                        popd
                fi
        }
       t@@ -178,7 +181,7 @@ bootstrap_tar_unpack() {
                }
                sudo rm -rf "${strapdir}"/*
                silly
       -        sudo tar xfp $bootstrap_tgz -C ${strapdir}
       +        sudo tar xpf "$bootstrap_tgz" -C "$strapdir" --xattrs-include='*.*' --numeric-owner
                sudo mkdir -p ${strapdir}/{boot,dev,sys,proc}
        
                conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list >/dev/null
   DIR diff --git a/zlibs/imaging b/zlibs/imaging
       t@@ -1,5 +1,5 @@
        #!/usr/bin/env zsh
       -# Copyright (c) 2016-2017 Dyne.org Foundation
       +# Copyright (c) 2016-2020 Dyne.org Foundation
        # libdevuansdk is maintained by Ivan J. <parazyd@dyne.org>
        #
        # This file is part of libdevuansdk
       t@@ -313,6 +313,8 @@ tar_strapdir() {
                mkdir -p "$R/dist"
                silly
                pushd "$strapdir"
       -        sudo tar czf "$R/dist/${image_name}.tar.gz" . || zerr
       +        sudo tar czf "$R/dist/${image_name}.tar.gz" . \
       +                --xattrs --xattrs-include=security.capability \
       +                --xattrs.include=user.pax.flags || zerr
                popd
        }
   DIR diff --git a/zlibs/rsync b/zlibs/rsync
       t@@ -1,5 +1,5 @@
        #!/usr/bin/env zsh
       -# Copyright (c) 2016-2017 Dyne.org Foundation
       +# Copyright (c) 2016-2020 Dyne.org Foundation
        # libdevuansdk is maintained by Ivan J. <parazyd@dyne.org>
        #
        # This file is part of libdevuansdk
       t@@ -33,7 +33,7 @@ rsync_to_raw_image() {
                        tar_strapdir || zerr
        
                        notice "rsyncing strapdir to raw image..."
       -                sudo rsync -HPavz -q ./* $workdir/mnt || {
       +                sudo rsync -HPaq ./* $workdir/mnt || {
                                image_raw_umount
                                die "not enough space, please report a bug"
                                zerr