From b04c8adf50e570c0476b32e5dc89cf61c19876fb Mon Sep 17 00:00:00 2001 From: Sakirnth Nagarasa Date: Wed, 1 Sep 2021 13:24:17 +0200 Subject: Handling arguemnt id for qemu script. Signed-off-by: Sakirnth Nagarasa --- share/build-scripts/qemu | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'share/build-scripts/qemu') diff --git a/share/build-scripts/qemu b/share/build-scripts/qemu index 4a0540d..4104d1c 100755 --- a/share/build-scripts/qemu +++ b/share/build-scripts/qemu @@ -33,8 +33,8 @@ export SCRIPT Parameters () { - GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,preseed-file:,boot-method:," - GETOPT_OPTIONS="b:,s:,n:,p:" + GETOPT_LONGOPTIONS="id:,bind:,bind-ro:,script:,name:,preseed-file:,boot-method:," + GETOPT_OPTIONS="i:,b:,s:,n:,p:" PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- "${@}")" @@ -49,6 +49,11 @@ Parameters () while true do case "${1}" in + -i|--id) + # ignore + shift 2 + ;; + -b|--bind) # ignore shift 2 -- cgit v1.2.3