From 1849734cbc2702371b12c1e32b901e6f375bf8de Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Wed, 1 Oct 2014 23:09:54 +0200 Subject: [PATCH] fix help message for mkimage debootstrap with components debootstrap needs the suite as the second argument, for this the script reorders arguments beginning with a minus but components separated by space, as stated by the help message, is not handled and will lead to the rootfs being passed as suite to debootstrap. The poor mans solution is to fix the help message to pass the long option as one argument. Signed-off-by: Julian Taylor Upstream-commit: 34672240b4e69f5f50448e462540bb0259eecf31 Component: engine --- components/engine/contrib/mkimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/contrib/mkimage.sh b/components/engine/contrib/mkimage.sh index 803d1627df..cd2fa748d8 100755 --- a/components/engine/contrib/mkimage.sh +++ b/components/engine/contrib/mkimage.sh @@ -6,7 +6,7 @@ mkimg="$(basename "$0")" usage() { echo >&2 "usage: $mkimg [-d dir] [-t tag] script [script-args]" echo >&2 " ie: $mkimg -t someuser/debian debootstrap --variant=minbase jessie" - echo >&2 " $mkimg -t someuser/ubuntu debootstrap --include=ubuntu-minimal --components main,universe trusty" + echo >&2 " $mkimg -t someuser/ubuntu debootstrap --include=ubuntu-minimal --components=main,universe trusty" echo >&2 " $mkimg -t someuser/busybox busybox-static" echo >&2 " $mkimg -t someuser/centos:5 rinse --distribution centos-5" echo >&2 " $mkimg -t someuser/mageia:4 mageia-urpmi --version=4"