Basic generate-squashfs script
This commit is a base for future functionality.
This commit just displays a help message.
Change-Id: I479ae9558964691aa0b2206995200aaaf5afa51b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/generate-squashfs b/generate-squashfs
new file mode 100755
index 0000000..0c8d852
--- /dev/null
+++ b/generate-squashfs
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+help=$'Generate SquashFS image Script
+
+Generates a SquashFS image from the PNOR image
+
+usage: generate-squashfs [OPTION]
+
+Options:
+ -h, --help Display this help text and exit.
+'
+
+while [[ $# -gt 0 ]]; do
+ key="$1"
+ case $key in
+ -h|--help)
+ echo "$help"
+ exit
+ ;;
+ *)
+ echo "Unknown option $1. Display available options with -h or --help"
+ exit
+ ;;
+ esac
+done