mirror of
https://github.com/dockur/windows.git
synced 2025-06-23 07:57:48 +00:00
Compare commits
2 Commits
503614483a
...
b5f5608b87
Author | SHA1 | Date | |
---|---|---|---|
|
b5f5608b87 | ||
|
cf08da8c60 |
@ -1,5 +1,5 @@
|
|||||||
FROM scratch AS build-amd64
|
FROM scratch AS build-amd64
|
||||||
COPY --from=qemux/qemu-docker:6.05 / /
|
COPY --from=qemux/qemu-docker:6.06 / /
|
||||||
|
|
||||||
ARG VERSION_ARG="0.0"
|
ARG VERSION_ARG="0.0"
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS="yes"
|
||||||
|
@ -2106,35 +2106,33 @@ setMachine() {
|
|||||||
local dir="$3"
|
local dir="$3"
|
||||||
local desc="$4"
|
local desc="$4"
|
||||||
|
|
||||||
case "${id,,}" in
|
|
||||||
"win9"* | "win2k"* )
|
|
||||||
MACHINE="pc-i440fx-2.4" ;;
|
|
||||||
"winxp"* | "win2003"* | "winvistax86"* | "win7x86"* )
|
|
||||||
# Some 32-bit Windows crash if 64 bit PCI hole size is >2G.
|
|
||||||
ARGS="-global q35-pcihost.x-pci-hole64-fix=false" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case "${id,,}" in
|
case "${id,,}" in
|
||||||
"win9"* )
|
"win9"* )
|
||||||
DISK_TYPE="auto"
|
|
||||||
BOOT_MODE="windows_legacy"
|
|
||||||
ETFS="[BOOT]/Boot-1.44M.img" ;;
|
ETFS="[BOOT]/Boot-1.44M.img" ;;
|
||||||
"win2k"* )
|
"win2k"* )
|
||||||
DISK_TYPE="auto"
|
|
||||||
BOOT_MODE="windows_legacy"
|
|
||||||
ETFS="[BOOT]/Boot-NoEmul.img" ;;
|
ETFS="[BOOT]/Boot-NoEmul.img" ;;
|
||||||
"winxp"* )
|
"winxp"* )
|
||||||
DISK_TYPE="blk"
|
|
||||||
BOOT_MODE="windows_legacy"
|
|
||||||
if ! prepareXP "$iso" "$dir" "$desc"; then
|
if ! prepareXP "$iso" "$dir" "$desc"; then
|
||||||
error "Failed to prepare $desc ISO!" && return 1
|
error "Failed to prepare $desc ISO!" && return 1
|
||||||
fi ;;
|
fi ;;
|
||||||
"win2003"* )
|
"win2003"* )
|
||||||
DISK_TYPE="blk"
|
|
||||||
BOOT_MODE="windows_legacy"
|
|
||||||
if ! prepare2k3 "$iso" "$dir" "$desc"; then
|
if ! prepare2k3 "$iso" "$dir" "$desc"; then
|
||||||
error "Failed to prepare $desc ISO!" && return 1
|
error "Failed to prepare $desc ISO!" && return 1
|
||||||
fi ;;
|
fi ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case "${id,,}" in
|
||||||
|
"win9"* | "win2k"* )
|
||||||
|
USB="None"
|
||||||
|
DISK_TYPE="auto"
|
||||||
|
MACHINE="pc-i440fx-2.4"
|
||||||
|
BOOT_MODE="windows_legacy" ;;
|
||||||
|
"winxp"* | "win2003"* )
|
||||||
|
USB="None"
|
||||||
|
DISK_TYPE="blk"
|
||||||
|
BOOT_MODE="windows_legacy"
|
||||||
|
# Some 32-bit Windows crash if 64 bit PCI hole size is >2G.
|
||||||
|
ARGS="-global q35-pcihost.x-pci-hole64-fix=false" ;;
|
||||||
"winvista"* | "win7"* | "win2008"* )
|
"winvista"* | "win7"* | "win2008"* )
|
||||||
BOOT_MODE="windows_legacy" ;;
|
BOOT_MODE="windows_legacy" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user