tadd qemu_install_user - 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 b03a800c3308f987d74246d2b3cc0664ac96c991 DIR parent fb46e1b0b420f297bb4da08bafa363521da1809e HTML Author: parazyd <parazyd@dyne.org> Date: Fri, 30 Sep 2016 00:47:13 +0200 add qemu_install_user Diffstat: M zlibs/helpers | 9 +++++++++ M zlibs/rsync | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) --- DIR diff --git a/zlibs/helpers b/zlibs/helpers t@@ -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" DIR diff --git a/zlibs/rsync b/zlibs/rsync t@@ -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