libdevuansdk

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

commit b03a800c3308f987d74246d2b3cc0664ac96c991
parent fb46e1b0b420f297bb4da08bafa363521da1809e
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 30 Sep 2016 00:47:13 +0200

add qemu_install_user

Diffstat:
Mzlibs/helpers | 9+++++++++
Mzlibs/rsync | 1+
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/zlibs/helpers b/zlibs/helpers @@ -55,6 +55,15 @@ findloopmapp() { func "mappdevice: $mappdevice" } +qemu_install_user() { + fn qemu_install_user + req=(qemu_bin strapdir) + ckreq || return 1 + + notice "installing qemu-user-static" + sudo cp $qemu_bin $strapdir/usr/bin +} + silly() { fn silly "$@" local arg1="$1" diff --git a/zlibs/rsync b/zlibs/rsync @@ -28,6 +28,7 @@ rsync_to_raw_image() { silly pushd $strapdir + rm -f .done sudo rsync -HPavz -q --exclude={./boot} ./* $workdir/root sudo rsync -HPavz -q ./boot/* $workdir/boot popd