Chameleon Applications

Chameleon Applications Commit Details

Date:2010-12-04 08:54:48 (9 years 10 months ago)
Author:blackosx
Commit:256
Parents: 255
Message:Couple more tweaks
Changes:
M/branches/blackosx/trunk/PackageBuilder/Build/Chameleon Installer v2.1.3b.pkg
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/10fdisk-contents.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/31nullhideboot.xml
M/branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/WriteInstallerLog.sh
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/04bdmesg-contents.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/32setfile.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/05boot-contents.xml
M/branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/postflight.sh
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/05boot.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/06boot.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/01fakesmc.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/07boot.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/08boot.xml
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/09boot.xml
M/branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/MainESPPostinstall.sh
M/branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/03embed.xml

File differences

branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/10fdisk-contents.xml
1
1
<pkg-contents spec="1.12"><f n="fdisk440" o="root" g="admin" p="33252" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/fdisk440" m="true" t="file"><mod>group</mod><mod>mode</mod><mod>owner</mod></f></pkg-contents>
<pkg-contents spec="1.12"><f n="fdisk440" o="root" g="admin" p="33252" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/fdisk440" m="true" t="file"><mod>mode</mod><mod>group</mod><mod>owner</mod></f></pkg-contents>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/05boot-contents.xml
1
1
<pkg-contents spec="1.12"><f n="boot" o="root" g="admin" p="33188" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/boot" m="true" t="file"><mod>group</mod><mod>mode</mod><mod>owner</mod></f></pkg-contents>
<pkg-contents spec="1.12"><f n="boot" o="root" g="admin" p="33188" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/boot" m="true" t="file"><mod>mode</mod><mod>group</mod><mod>owner</mod></f></pkg-contents>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/03embed.xml
1
1
<pkgref spec="1.12" uuid="43B649F9-205E-4C18-88B5-D8E419E8B617"><config><identifier>voodooprojects.org.chameleon.Embed.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/themes/Embed</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Extra/Themes/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>version</mod><mod>installTo</mod><mod>postInstall</mod><mod>relocatable</mod><mod>requireAuthorization</mod><mod>parent</mod><mod>identifier</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>installFrom.isRelativeType</mod></config><contents><file-list>03embed-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
<pkgref spec="1.12" uuid="43B649F9-205E-4C18-88B5-D8E419E8B617"><config><identifier>voodooprojects.org.chameleon.Embed.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/themes/Embed</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Extra/Themes/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>extraFiles</mod><mod>installTo</mod><mod>postInstall</mod><mod>relocatable</mod><mod>requireAuthorization</mod><mod>parent</mod><mod>version</mod><mod>identifier</mod><mod>installFrom.isRelativeType</mod><mod>installTo.path</mod></config><contents><file-list>03embed-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/31nullhideboot.xml
1
1
<pkgref spec="1.12" uuid="C9DBD99E-D5F3-494D-80EB-0D1517FE9234"><config><identifier>voodooprojects.org.chameleon.nullhideboot.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">Main_Package_Elements/HideBoot/nullhideboot</installFrom><installTo mod="true" relocatable="true">/.Chameleon/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>31nullhideboot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="C9DBD99E-D5F3-494D-80EB-0D1517FE9234"><config><identifier>voodooprojects.org.chameleon.nullhideboot.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">Main_Package_Elements/HideBoot/nullhideboot</installFrom><installTo mod="true" relocatable="true">/.Chameleon/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>relocatable</mod><mod>parent</mod><mod>version</mod><mod>installTo</mod></config><contents><file-list>31nullhideboot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/04bdmesg-contents.xml
1
1
<pkg-contents spec="1.12"><f n="bdmesg" o="root" g="admin" p="33252" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/bdmesg" m="true" t="file"><mod>group</mod><mod>mode</mod><mod>owner</mod></f></pkg-contents>
<pkg-contents spec="1.12"><f n="bdmesg" o="root" g="admin" p="33252" pt="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/i386/bdmesg" m="true" t="file"><mod>mode</mod><mod>group</mod><mod>owner</mod></f></pkg-contents>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/32setfile.xml
1
1
<pkgref spec="1.12" uuid="D24C3BEA-312F-42C3-99C5-9FC76E235C77"><config><identifier>voodooprojects.org.chameleon.SetFile.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">Main_Package_Elements/Tools/SetFile</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Tools/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>version</mod><mod>relocatable</mod></config><contents><file-list>32setfile-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="D24C3BEA-312F-42C3-99C5-9FC76E235C77"><config><identifier>voodooprojects.org.chameleon.SetFile.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">Main_Package_Elements/Tools/SetFile</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Tools/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>32setfile-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/05boot.xml
1
1
<pkgref spec="1.12" uuid="2D29E131-0B3F-484E-A890-4A19B6B20C7B"><config><identifier>voodooprojects.org.chameleon.boot.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>installTo</mod><mod>parent</mod></config><contents><file-list>05boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="2D29E131-0B3F-484E-A890-4A19B6B20C7B"><config><identifier>voodooprojects.org.chameleon.boot.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>05boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/06boot.xml
1
1
<pkgref spec="1.12" uuid="37C0B082-6685-4FEC-9C5F-E2572C264E13"><config><identifier>voodooprojects.org.chameleon.boot0.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot0</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>installTo</mod><mod>parent</mod></config><contents><file-list>06boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="37C0B082-6685-4FEC-9C5F-E2572C264E13"><config><identifier>voodooprojects.org.chameleon.boot0.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot0</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>06boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/01fakesmc.xml
1
1
<pkgref spec="1.12" uuid="930CBEAD-F970-431E-AF91-65B0276E3199"><config><identifier>voodooprojects.org.chameleon.FakeSMC.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">Main_Package_Elements/Kexts/FakeSMC.kext</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Extra/Extensions/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installTo</mod><mod>postInstall</mod><mod>relocatable</mod><mod>requireAuthorization</mod><mod>identifier</mod><mod>version</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>installFrom.isRelativeType</mod></config><contents><file-list>01fakesmc-contents.xml</file-list><component id="org.netkas.FakeSMC" path="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/Kexts/FakeSMC.kext" version="1.0.0d1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
<pkgref spec="1.12" uuid="930CBEAD-F970-431E-AF91-65B0276E3199"><config><identifier>voodooprojects.org.chameleon.FakeSMC.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">Main_Package_Elements/Kexts/FakeSMC.kext</installFrom><installTo mod="true" relocatable="true">/.Chameleon/Extra/Extensions/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>extraFiles</mod><mod>installTo</mod><mod>postInstall</mod><mod>relocatable</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>parent</mod><mod>version</mod><mod>installFrom.isRelativeType</mod><mod>installTo.path</mod></config><contents><file-list>01fakesmc-contents.xml</file-list><component id="org.netkas.FakeSMC" path="/Users/blackosx/Documents/Chameleon_SVN/PackageBuilder_Blackosx/blackosx/trunk/PackageBuilder/Main_Package_Elements/Kexts/FakeSMC.kext" version="1.0.0d1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/07boot.xml
1
1
<pkgref spec="1.12" uuid="EC60155A-B36A-49F7-ABFC-3C9DA0F82CFD"><config><identifier>voodooprojects.org.chameleon.boot0hfs.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot0hfs</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>installTo</mod><mod>parent</mod></config><contents><file-list>07boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="EC60155A-B36A-49F7-ABFC-3C9DA0F82CFD"><config><identifier>voodooprojects.org.chameleon.boot0hfs.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot0hfs</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>07boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/08boot.xml
1
1
<pkgref spec="1.12" uuid="093F8CD0-B40F-4455-9398-0EEAA36114E9"><config><identifier>voodooprojects.org.chameleon.boot1f32.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot1f32</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>installTo</mod><mod>parent</mod></config><contents><file-list>08boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="093F8CD0-B40F-4455-9398-0EEAA36114E9"><config><identifier>voodooprojects.org.chameleon.boot1f32.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot1f32</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>08boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Chameleon_Installer.pmdoc/09boot.xml
1
1
<pkgref spec="1.12" uuid="FF14338B-58E8-47F9-95D1-66399E642DAA"><config><identifier>voodooprojects.org.chameleon.boot1h.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot1h</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>relocatable</mod><mod>installTo</mod><mod>parent</mod></config><contents><file-list>09boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="FF14338B-58E8-47F9-95D1-66399E642DAA"><config><identifier>voodooprojects.org.chameleon.boot1h.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Main_Package_Elements/i386/boot1h</installFrom><installTo mod="true" relocatable="true">/.Chameleon/i386/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installTo</mod><mod>parent</mod><mod>relocatable</mod><mod>version</mod></config><contents><file-list>09boot-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/WriteInstallerLog.sh
1717
1818
1919
20
20
2121
2222
2323
#echo "DEBUG: passed argument = $verboseText"
fi
echo "${verboseText}" >> ${logLocation}/Chameleon_Error_Log.txt
echo "${verboseText}" >> "${logLocation}"/Chameleon_Error_Log.txt
#echo "-----------------------------------------------"
branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/postflight.sh
4545
4646
4747
48
48
4949
5050
5151
......
8787
8888
8989
90
91
90
91
9292
9393
9494
9595
9696
97
98
97
98
9999
100100
101101
if [ -f "${3}"/.Chameleon/nullESP ] && ! [ -f "${3}"/.Chameleon/nullstandard ]; then
# Does an /Extra folder already exist at the target location?
# Does an /Extra folder already exist on the target EFI system partition?
# If yes, then make a backup of it
if [ -d "/Volumes/EFI/Extra" ]; then
echo "==============================================="
echo "Clean Up"
echo "********"
echo "Remove any temporary files"
echo "**************************"
# check the /.Chameleon temporary directory exists
# if yes, remove the temporary /.Chameleon directory
if [ -d "${3}"/.Chameleon ]; then
echo "Executing command: rm -r ${3}/.Chameleon/"
rm -r "${3}"/.Chameleon
echo "Executing command: rm -f -R ${3}/.Chameleon/"
rm -f -R "${3}"/.Chameleon
fi
# remove the temporary boot sector files if they exist
branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/MainESPPostinstall.sh
1818
1919
2020
21
21
2222
2323
2424
......
5353
5454
5555
56
5756
5857
5958
60
61
62
59
60
61
6362
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
8178
8279
8380
......
172169
173170
174171
175
172
176173
177
174
178175
179176
180177
# If they did then the standard install will have already be run.
# Therefore, we will not run this.
if ! [ -f ${3}/.Chameleon/nullstandard ]; then
if ! [ -f "${3}"/.Chameleon/nullstandard ]; then
# OK to continue
#echo "==============================================="
targetDisk=${targetDevice%s*}
targetDiskRaw=${targetDisk/disk/rdisk}
targetSlice=${targetDevice#*disk*s}
targetResources="${targetVolume%/*}" # - is this needed?
#echo "==============================================="
#echo "DEBUG: display script variables"
#echo "***************************"
echo "==============================================="
echo "DEBUG: display script variables"
echo "***************************"
#echo "DEBUG: stage0Loader: Disk loader is ${stage0Loader}"
#echo "DEBUG: stage0LoaderDualBoot: Disk loader is ${stage0LoaderDualBoot}"
#echo "DEBUG: stage1LoaderHFS: Partition loader is ${stage1LoaderHFS}"
#echo "DEBUG: stage1LoaderFat: Partition loader is ${stage1LoaderFAT}"
#echo "DEBUG: stage2Loader: Filesystem loader is ${stage2Loader}"
#echo "DEBUG: targetVolumeTemp: Volume is ${targetVolumeTemp}"
#echo "DEBUG: targetDeviceTemp: Volume device is ${targetDeviceTemp}"
#echo "DEBUG: targetVolume: Volume is ${targetVolume}"
#echo "DEBUG: targetDevice: Volume device is ${targetDevice}"
#echo "DEBUG: targetDeviceRaw: Volume raw device is ${targetDeviceRaw}"
#echo "DEBUG: targetDisk: Disk device is ${targetDisk}"
#echo "DEBUG: targetDiskRaw: Disk raw device is ${targetDiskRaw}"
#echo "DEBUG: targetSlice: Volume slice is ${targetSlice}"
#echo "DEBUG: targetResources: Boot Resources is ${targetResources} - ????????????"
#echo "DEBUG: targetName: Volume name to look for is ${targetName} - ????????????"
#echo "-----------------------------------------------"
#echo ""
echo "DEBUG: stage0Loader: Disk loader is ${stage0Loader}"
echo "DEBUG: stage0LoaderDualBoot: Disk loader is ${stage0LoaderDualBoot}"
echo "DEBUG: stage1LoaderHFS: Partition loader is ${stage1LoaderHFS}"
echo "DEBUG: stage1LoaderFat: Partition loader is ${stage1LoaderFAT}"
echo "DEBUG: stage2Loader: Filesystem loader is ${stage2Loader}"
echo "DEBUG: targetVolumeTemp: Volume is ${targetVolumeTemp}"
echo "DEBUG: targetDeviceTemp: Volume device is ${targetDeviceTemp}"
echo "DEBUG: targetVolume: Volume is ${targetVolume}"
echo "DEBUG: targetDevice: Volume device is ${targetDevice}"
echo "DEBUG: targetDeviceRaw: Volume raw device is ${targetDeviceRaw}"
echo "DEBUG: targetDisk: Disk device is ${targetDisk}"
echo "DEBUG: targetDiskRaw: Disk raw device is ${targetDiskRaw}"
echo "DEBUG: targetSlice: Volume slice is ${targetSlice}"
echo "-----------------------------------------------"
echo ""
# Check to see if the selected disk uses a GPT
"$scriptDir"WriteInstallerLog.sh "${targetVolumeTemp}" "Error: ${targetVolumeTemp} is not on a GPT partitioned disc."
fi
else
echo "Error: User selected both locations for installation"
echo "Warning: User selected both locations for installation - So not Continuing with EFI System Partition script"
# Write error to Chameleon_Error_Log file
"$scriptDir"WriteInstallerLog.sh "${3}" "Error: User selected both locations for installation. Exiting the script for installing to the EFI system partition"
"$scriptDir"WriteInstallerLog.sh "${3}" "Warning: User selected both locations for installation. Not continuing with the script for installing to the EFI system partition"
fi
exit 0

Archive Download the corresponding diff file

Revision: 256