Chameleon

Chameleon Commit Details

Date:2011-09-24 22:54:38 (12 years 7 months ago)
Author:blackosx
Commit:1567
Parents: 1566
Message:Refine.
Changes:
M/branches/blackosx/package/Scripts/Resolutions/1280x768x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseNvidiaROM/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/RestartFix/postinstall
M/branches/blackosx/package/Scripts/Post/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1024x600x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/EHCIacquire/postinstall
M/branches/blackosx/package/Scripts/Advanced/VBIOS/postinstall
M/branches/blackosx/package/Scripts/Advanced/SMBIOSdefaults/postinstall
M/branches/blackosx/package/Scripts/Advanced/LegacyLogo/postinstall
M/branches/blackosx/package/Scripts/Advanced/Wake/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x800x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/UHCIreset/postinstall
M/branches/blackosx/package/Scripts/Advanced/ShowInfo/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC3State/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GenerateCStates/postinstall
M/branches/blackosx/package/buildpkg.sh
M/branches/blackosx/package/Scripts/Resolutions/1920x1200x32/postinstall
M/branches/blackosx/package/Scripts/Keymaps/postinstall
M/branches/blackosx/package/Scripts/Advanced/Wait/postinstall
M/branches/blackosx/package/Scripts/Advanced/ForceWake/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x1024x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseAtiROM/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1920x1080x32/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1680x1050x32/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
M/branches/blackosx/package/Scripts/Advanced/QuietBoot/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
M/branches/blackosx/package/Scripts/Advanced/ForceHPET/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/GeneratePStates/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseKernelCache/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/DropSSDT/postinstall
M/branches/blackosx/package/Scripts/Advanced/UseMemDetect/postinstall
M/branches/blackosx/package/Scripts/Advanced/GUI/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1600x900x32/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/InstantMenu/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1440x900x32/postinstall
M/branches/blackosx/package/Scripts/Advanced/BootBanner/postinstall
M/branches/blackosx/package/Scripts/Advanced/Npci/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC2State/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/arch/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1280x960x32/postinstall
M/branches/blackosx/package/Scripts/BaseOptions/EnableC4State/postinstall
M/branches/blackosx/package/Scripts/Resolutions/1024x768x32/postinstall

File differences

branches/blackosx/package/Scripts/Advanced/ForceHPET/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/UseKernelCache/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/EHCIacquire/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/VBIOS/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/GUI/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/SMBIOSdefaults/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/UseMemDetect/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/LegacyLogo/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/Wake/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/BootBanner/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/Npci/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/UHCIreset/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/ShowInfo/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/Wait/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/UseNvidiaROM/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/ForceWake/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/UseAtiROM/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Advanced/QuietBoot/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Post/postinstall
3737
3838
3939
40
41
42
4043
4144
42
45
46
47
48
4349
4450
4551
# Copy /tmpcham/Extra to correct location.
if [ ! -f "$dest_vol"/.ChameleonEFI ]; then
echo "Copying $dest_vol/tmpcham/Extra/* $dest_vol/Extra"
if [ ! -f "$dest_vol"/Extra ]; then
mkdir "$dest_vol"/Extra
fi
cp -R "$dest_vol"/tmpcham/Extra/* "$dest_vol"/Extra
else
echo "Copying $dest_vol/tmpcham/Extra/* $dest_vol/Volumes/EFI/Extra"
echo "Copying $dest_vol/tmpcham/Extra/* $/Volumes/EFI/Extra"
if [ ! -f "/Volumes/EFI/Extra" ]; then
mkdir "/Volumes/EFI/Extra"
fi
cp -R "$dest_vol"/tmpcham/Extra/* /Volumes/EFI/Extra
# unmount /Volumes/EFI
branches/blackosx/package/Scripts/BaseOptions/GenerateCStates/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/DropSSDT/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
2616
2717
2818
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/InstantMenu/postinstall
77
88
99
10
11
12
1013
11
12
13
14
15
16
17
14
15
1816
19
20
21
22
23
24
25
26
27
2817
2918
3019
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/RestartFix/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/EnableC2State/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/EnableC3State/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/arch/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/EnableC4State/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/BaseOptions/GeneratePStates/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1024x768x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1024x600x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1920x1200x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
2616
2717
2818
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1280x768x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1600x900x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1280x1024x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1440x900x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1280x800x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1680x1050x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1920x1080x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Resolutions/1280x960x32/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/Scripts/Keymaps/postinstall
66
77
88
9
10
11
912
10
11
12
13
14
15
16
13
14
1715
18
19
20
21
22
23
24
25
26
2716
2817
2918
import shutil
vol = str(sys.argv[3])
extrafolder = vol + "/tmpcham/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
# Check for .ChameleonEFI file at root of target volume
# to indicate user wants to install to EFI system partition.
espfile = "/.ChameleonEFI"
espvol = vol + espfile
if os.path.exists(espvol):
if not os.path.exists('/Volumes/EFI/Extra'):
os.makedirs('/Volumes/EFI/Extra')
boot = "/tmpcham/Extra/org.chameleon.Boot.plist"
plist = vol + boot
plist = "/Volumes/EFI/Extra/org.chameleon.Boot.plist"
else:
extrafolder = vol + "/Extra"
if not os.path.exists(extrafolder):
os.makedirs(extrafolder)
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
branches/blackosx/package/buildpkg.sh
319319
320320
321321
322
322
323323
324324
325325
......
360360
361361
362362
363
363
364364
365365
366366
......
397397
398398
399399
400
400
401401
402402
403403
# clean up
#rm -R -f "${1}"
rm -R -f "${1}"
}
header+="auth=\"root\">\n"
header+="\t<payload installKBytes=\"${installedsize##* }\" numberOfFiles=\"${filecount##* }\"/>\n"
#rm -R -f "${1}/Temp"
rm -R -f "${1}/Temp"
[ -d "${1}/Temp" ] || mkdir -m 777 "${1}/Temp"
[ -d "${1}/Root" ] && mkbom "${1}/Root" "${1}/Temp/Bom"
fi
choices[$((choicescount++))]="<choice\n\tid=\"${packagename// /}\"\n\ttitle=\"${packagename}_title\"\n\tdescription=\"${packagename}_description\"\n${choiceoptions}>\n\t<pkg-ref id=\"${identifier}\" installKBytes='${installedsize}' version='${version}.0.0.${timestamp}' auth='root'>#${packagename// /}.pkg</pkg-ref>\n</choice>\n"
#rm -R -f "${1}"
rm -R -f "${1}"
fi
}

Archive Download the corresponding diff file

Revision: 1567