Also add 64 bit XP support

This commit is contained in:
Mario Fetka 2013-03-03 05:07:11 +01:00
parent e37c0e0784
commit e0642ed27b

View File

@ -28,14 +28,17 @@ function create() {
echo "Create"
builder_create
rm $INST_DIR/CLIENT_DATA/*/DriversInstaller_Release_${VERSION}_Full/*.url
mkdir -p $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64
rsync -avr $INST_DIR/CLIENT_DATA/X86/drivers/XP/* $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64/
rsync -avr $INST_DIR/CLIENT_DATA/X86/DriversInstaller_Release_${VERSION}_Full/* $INST_DIR/CLIENT_DATA/X86
rsync -avr $INST_DIR/CLIENT_DATA/X86_64/DriversInstaller_Release_${VERSION}_Full/* $INST_DIR/CLIENT_DATA/X86_64
rm -rf $INST_DIR/CLIENT_DATA/*/DriversInstaller_Release_${VERSION}_Full/
# windows NT / 2000
find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name AllNT -exec rm -rf {} \;
################################################################################
# windows NT / 2000 / 2003 / Longhorn
#find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name AllNT -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name NTx64 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name NTx86 -exec rm -rf {} \;
#find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name NTx86 -exec rm -rf {} \;
# Windows XP 32 / 64
#find $INST_DIR/CLIENT_DATA/X86/drivers/XP -type d -name All5 -exec rm -rf {} \;
@ -63,5 +66,38 @@ function create() {
# delete empty dirs
find $INST_DIR/CLIENT_DATA/X86/drivers -type d -empty -exec rmdir {} \;
################################################################################
# windows NT / 2000 / 2003 / Longhorn
#find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name AllNT -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name NTx64 -exec rm -rf {} \;
#find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name NTX86 -exec rm -rf {} \;
# Windows XP 32 / 64
#find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name All5 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 5x86 -exec rm -rf {} \;
#find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 5x64 -exec rm -rf {} \;
# Vista 32 / 64
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name All6 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 6x64 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 6x86 -exec rm -rf {} \;
# Windows 7 32 / 64
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name All7 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 7x64 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 7x86 -exec rm -rf {} \;
# Windows 8 32 / 64
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name All8 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 8x64 -exec rm -rf {} \;
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name 8x86 -exec rm -rf {} \;
# Windows Version Idependent
find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name Allx86 -exec rm -rf {} \;
#find $INST_DIR/CLIENT_DATA/X86_64/drivers/XP64 -type d -name Allx64 -exec rm -rf {} \;
# delete empty dirs
find $INST_DIR/CLIENT_DATA/X86_64/drivers -type d -empty -exec rmdir {} \;
}