This commit is contained in:
p_reichart 2023-04-13 13:01:39 +00:00
parent ab99f46cfb
commit 26311dec4e

View File

@ -30,10 +30,16 @@ fi
# Create winpe.iso
if ! [ -e ./non-free/windows/winpe.iso ]; then
if [ -e ./temp/waik/WinPE.cab ]; then
mkwinpeimg --iso --arch=amd64 --waik-dir=./temp/waik ./non-free/windows/winpe.iso
mkwinpeimg --iso --arch=amd64 --waik-dir=./temp/waik --start-script=./resources/winpestart.bat ./non-free/windows/winpe.iso
fi
fi
DLURL="https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi"
FILENAME="./non-free/windows/MicrosoftDeploymentToolkit_x64.msi"
if ! [ -e $FILENAME ]; then
wget -nc -O $FILENAME $DLURL
fi
# copy files to tftp server
cp -av ./non-free/windows ${TFTP}/non-free/