From: Jan Kiszka <jan.kis...@siemens.com>

This allows to call the script for testing purposes on all available
images without going through the interactive mode.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 build-images.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/build-images.sh b/build-images.sh
index 6a1430c..2ccca12 100755
--- a/build-images.sh
+++ b/build-images.sh
@@ -15,6 +15,7 @@ usage()
        echo "Usage: $0 [OPTIONS]"
        echo -e "\nOptions:"
        echo -e "--latest\tBuild latest Jailhouse version from next branch."
+       echo -e "--all\t\tBuild all available images (may take hours...)."
        echo -e "--shell\t\tDrop into a shell to issue bitbake commands" \
                "manually."
        echo -e "--docker-args\tAdditional arguments to pass to docker for" \
@@ -32,6 +33,13 @@ while [ $# -gt 0 ]; do
                LATEST="-latest"
                shift 1
                ;;
+       --all)
+               KAS_TARGET=
+               while read MACHINE DESCRIPTION; do
+                       KAS_TARGET="${KAS_TARGET} 
multiconfig:${MACHINE}-jailhouse:demo-image"
+               done < images.list
+               shift 1
+               ;;
        --shell)
                CMD="shell"
                shift 1
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to