]> wimlib.net Git - wimlib/blobdiff - programs/mkwinpeimg
mkwinpeimg: Add IA64 arch and update docs
[wimlib] / programs / mkwinpeimg
index 48cca30111b306fe18c323e2d517128142cf6dac..3075c28d112f31bbe1310569bb219709e8fb3c94 100755 (executable)
@@ -106,8 +106,9 @@ Usage: $script_name [OPTIONS] IMAGE
   -O, --overlay=DIR        Adds all the files in DIR to the Windows PE image.
   -t, --tmp-dir=DIR        Use DIR as the temporary base of the ISO filesystem.  
                               Defaults to making one using "mktemp -d".
-  -a, --arch=ARCH          Use ARCH version (x86 or amd64)
-                              Defaults: x86
+  -a, --arch=ARCH          Use the Windows PE version from the WAIK that has
+                              the CPU architecture ARCH.  Possible values:
+                              "x86", "amd64", or "ia64".  Default is "x86".
   -h, --help               Display this information.
   -v, --version            Show version information.
 
@@ -182,13 +183,14 @@ process_command_line() {
                        if [ "$2" == "x86" ]; then
                                arch="X86"
                                arch_id="1"
-
+                       elif [ "$2" == "ia64" ]; then
+                               arch="IA64"
+                               arch_id="2"
                        elif [ "$2" == "amd64" ]; then
                                arch="AMD64"
                                arch_id="3"
-
                        else 
-                               echo "ERROR: $2 is not a valid arch (x86/amd64)"
+                               echo "ERROR: $2 is not a valid arch (x86/amd64/ia64)"
                                exit 1
                        fi
                        shift