Package: qemu-utils Version: 0.12.5+dfsg-3 Severity: minor Tags: patch The script "qemu-make-debian-root" is not able to sense the options "-s -k" when given in exactly that order. Delaying the use of "shift" will resolve the issue.
Best regards, Mats Erik Andersson, DM Description: Delay argument shifting. The early use of "shift" has the erroneous effect of translating "-s -k" into "-k", since an initial "-s" is incorrectly removed. Author: Mats Erik Andersson <[email protected]> Last-Update: 2011-08-16 --- qemu-make-debian-root.orig 2010-11-29 01:24:09.000000000 +0100 +++ qemu-make-debian-root 2011-08-16 21:49:25.000000000 +0200 @@ -20,15 +20,18 @@ KEEPFS=0 if [ "$1" = "-k" ] || [ "$2" = "-k" ]; then KEEPFS=1 - shift fi SPARSE=0 if [ "$1" = "-s" ] || [ "$2" = "-s" ]; then SPARSE=1 - shift fi +# Remove any options, tacitly assuming them at the beginning. +# +[ $KEEPFS -eq 1 ] && shift +[ $SPARSE -eq 1 ] && shift + if [ $# -lt 4 ]; then echo Usage: "$0 [-ks] size-in-MB distrib deburl image [files_to_copy_in_/root]" >&2 echo "eg $0 150 sid http://proxy:10000/debian qemu" >&2 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

