kas-container: allow the -d
/-v
of kas-container to set -d
on kas
Currently kas-container did not allow to set the `-d` parameter of kas, this patch changes that and allows to set it via the `-d` or `-v` parameter of kas-container. Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
b719fc9f6a
commit
36ab0549ce
@ -171,6 +171,7 @@ while [ $# -gt 0 ]; do
|
|||||||
;;
|
;;
|
||||||
-v | -d)
|
-v | -d)
|
||||||
KAS_VERBOSE=1
|
KAS_VERBOSE=1
|
||||||
|
KAS_OPTIONS_DIRECT="${KAS_OPTIONS_DIRECT} -d"
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
--*)
|
--*)
|
||||||
@ -334,7 +335,7 @@ if [ -z "${KAS_NO_PROXY_FROM_ENV+x}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
set -- "$@" ${KAS_ISAR_ARGS} ${KAS_WITH_LOOP_DEV} ${KAS_RUNTIME_ARGS} \
|
set -- "$@" ${KAS_ISAR_ARGS} ${KAS_WITH_LOOP_DEV} ${KAS_RUNTIME_ARGS} \
|
||||||
${KAS_CONTAINER_IMAGE} ${KAS_CMD} ${KAS_OPTIONS} ${KAS_FILES}
|
${KAS_CONTAINER_IMAGE} ${KAS_OPTIONS_DIRECT} ${KAS_CMD} ${KAS_OPTIONS} ${KAS_FILES}
|
||||||
|
|
||||||
# rotate any extra bitbake args from the front to the end of the argument list
|
# rotate any extra bitbake args from the front to the end of the argument list
|
||||||
while [ $KAS_EXTRA_BITBAKE_ARGS -gt 0 ]; do
|
while [ $KAS_EXTRA_BITBAKE_ARGS -gt 0 ]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user