X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fmkwinpeimg;h=3075c28d112f31bbe1310569bb219709e8fb3c94;hp=48cca30111b306fe18c323e2d517128142cf6dac;hb=ef55938bb51da1f29cd3213ee0341cfb4e1ad2b2;hpb=d890125f206b61afabb33b05beb41e670c16c42e diff --git a/programs/mkwinpeimg b/programs/mkwinpeimg index 48cca301..3075c28d 100755 --- a/programs/mkwinpeimg +++ b/programs/mkwinpeimg @@ -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