script_name="$(basename $0)"
PREFIX_REG="::"
-WIMLIB_VERSION=1.2.3
+WIMLIB_VERSION=1.2.6
calc_columns () {
STAT_COL=80
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.
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
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