summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/create-qemu2
-rwxr-xr-xshare/build-scripts/qemu9
2 files changed, 8 insertions, 3 deletions
diff --git a/libexec/container/create-qemu b/libexec/container/create-qemu
index 9fadc44..8abd861 100755
--- a/libexec/container/create-qemu
+++ b/libexec/container/create-qemu
@@ -28,7 +28,7 @@ COMMAND="$(basename ${0})"
CONFIG="/etc/${SOFTWARE}/config"
HOOKS="/etc/${SOFTWARE}/hooks"
MACHINES="/var/lib/machines"
-SCRIPTS="/usr/share/${SOFTWARE}/scripts"
+SCRIPTS="/usr/share/${SOFTWARE}/build-scripts"
Parameters ()
{
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