add qemu_install_user

This commit is contained in:
parazyd 2016-09-30 00:47:13 +02:00
parent fb46e1b0b4
commit b03a800c33
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 10 additions and 0 deletions

View File

@ -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"

View File

@ -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