X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fmkwinpeimg;h=48143b6dad04d111e5a95adf380ddf5c09b8ace2;hp=3075c28d112f31bbe1310569bb219709e8fb3c94;hb=54ab9fc02a6deab44102a7f18b85c6ff7cf7774b;hpb=ef55938bb51da1f29cd3213ee0341cfb4e1ad2b2 diff --git a/programs/mkwinpeimg b/programs/mkwinpeimg index 3075c28d..48143b6d 100755 --- a/programs/mkwinpeimg +++ b/programs/mkwinpeimg @@ -108,7 +108,7 @@ Usage: $script_name [OPTIONS] IMAGE Defaults to making one using "mktemp -d". -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". + "x86" or "amd64". Default is "x86". -h, --help Display this information. -v, --version Show version information. @@ -183,14 +183,17 @@ process_command_line() { if [ "$2" == "x86" ]; then arch="X86" arch_id="1" - elif [ "$2" == "ia64" ]; then - arch="IA64" - arch_id="2" + # Need to test Itanium images before making it an + # option. Note: syslinux is x86 only so can't be used + # for the Itanium disk image. + #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/ia64)" + echo "ERROR: $2 is not a valid arch (x86/amd64)" exit 1 fi shift @@ -420,7 +423,7 @@ make_iso_img() { stat_busy "Making ISO image \"$image\"" - mkisofs -sysid "" -A "" -V "Microsoft Windows PE (x86)" -d -N \ + mkisofs -sysid "" -A "" -V "Microsoft Windows PE ($arch)" -d -N \ -b etfsboot.com -no-emul-boot -c boot.cat -hide etfsboot.com \ -hide boot.cat -quiet -o "$image" "$tmp_dir" || stat_fail