Chameleon Applications

Chameleon Applications Commit Details

Date:2011-11-19 17:46:18 (12 years 5 months ago)
Author:Rekursor
Commit:353
Parents: 352
Message:Reworded some new features, started tableview change for edit (visual rename new feature)
Changes:
M/trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/README
M/trunk/ChameleonPrefPane/Resources/cdBootCreator.sh

File differences

trunk/ChameleonPrefPane/README
3333
3434
3535
36
37
38
seem to have no effect, it might be that you have more than one bootConfig file
and that the chameleon booter does not load the one that the panel selected,
see upper to force the bootConfig to match the one loaded by the chameleon booter.
How to build from sources
Please use XCode 3.2.6 or superior from SnowLeopard or Lion (yes you can still install 3.2.6 for backward compatible dev in Lion)
trunk/ChameleonPrefPane/Resources/cdBootCreator.sh
1313
1414
1515
16
1617
1718
1819
1920
2021
21
22
23
2224
2325
2426
......
2729
2830
2931
30
3132
3233
33
34
3435
3536
3637
37
38
38
3939
4040
4141
4242
43
44
43
4544
4645
46
4747
48
49
48
5049
5150
5251
5352
54
55
53
5654
5755
5856
......
6058
6159
6260
61
6362
6463
6564
......
9695
9796
9897
99
98
10099
101100
102101
......
104103
105104
106105
107
106
108107
109108
110109
111
110
112111
113112
114113
115114
116
117
118
115
116
119117
120118
121
119
122120
123121
124
122
125123
126124
127
128
129
125
130126
else
extra="$1"
fi
if [[ $# < 2 ]];then
cdBootDir="${extra}"
else
cdBootDir="$2"
fi
echo Extra dir is ${extra} cdBootDir is ${cdBootDir}
echo "Extra dir is ${extra} and cdboot dir is ${cdBootDir}"
mydir=`dirname $0`
tempDir=/tmp
extradir=/tmp/newiso/Extra
preDir=/tmp/newiso/Extra/Preboot
prebootDir="${preDir}/Extra"
backDir=$finaldir
bkpdir="${finaldir}/Previous-dmg"
echo "Starting script..."
echo "Starting CD Boot ISO creation script..."
#errors
if ([ ! -f $extra/Extensions.mkext ] && [ ! -d $extra/Extensions ]);then
echo "- Error: no Extensions.mkext or Extensions folder. One of them is required"
echo " ------------------------"
echo "*** Error: no Extensions.mkext or Extensions folder. One of them is required"
exit 1
fi
if [ ! -f $extra/org.chameleon.Boot.plist ];then
echo "- Error: no org.chameleon.Boot.plist found. File required"
echo " ------------------------"
echo "*** Error: no org.chameleon.Boot.plist found. File required"
exit 1
fi
if [ ! -f $cdBootDir/cdboot ];then
echo "- Error: no cdboot found. File required"
echo " ------------------------"
echo "*** Error: no cdboot found. File required"
exit 1
fi
# Create a work directory
echo " - temps folders created"
echo " - Checking files"
echo " Creating folders ..."
#copy Extra files to temp directory
if ([ ! -d $prebootDir ]);then
mkdir -p $prebootDir
if ([ ! -d $bkpdir ]);then
mkdir -p $bkpdir
fi
echo " Copying files ..."
if [ -f $cdBootDir/cdboot ];then
cp -R $cdBootDir/cdboot $isodir
cp -R $tempDir/org.chameleon.Boot.plist $extradir
fi
echo "- Files copied in temp folder"
echo " Files copied in temp folder"
# ramdisk creator
if [ -f $extradir/Preboot.dmg ];then
fi
hdiutil create -srcfolder $preDir/ -layout GPTSPUD -fs HFS+ -format UDRW -volname Preboot $extradir/Preboot.dmg
rm -R $preDir
echo " - ram disk created"
echo " Ram disk created"
# boot cd creator
hdiutil makehybrid -o BootCD.iso $isodir/ -iso -hfs -joliet -eltorito-boot $isodir/cdboot -no-emul-boot -hfs-volume-name "Boot CD" -joliet-volume-name "Boot CD"
echo " - hybrid image created"
echo " Hybrid image created"
# Create output and backup directories
if [ -f $finaldir/BootCD.iso ];then
if [ ! -d $bkpdir ];then
mkdir $backDir
mkdir $bkpdir
echo " - backup folder created"
mkdir -p $bkpdir
echo " Backup folder created"
fi
mv -f $finaldir/BootCD.iso $bkpdir/BootCd-$(date +"%d-%y-%Hh%M").iso
echo " - previous ISO moved into backup folder"
echo " Previous ISO moved into backup folder"
fi
mv BootCD.iso $finaldir
echo " - ISO moved on desktop"
echo " ISO moved on desktop"
# cleanup
echo " - Perform cleaning"
echo " - ISO created succefully"
echo " ------------------------"
echo " ISO created successfully"
exit 0
trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
701701
702702
703703
704
704705
705706
706707
......
14541455
14551456
14561457
1457
1458
14581459
14591460
14601461
......
15011502
15021503
15031504
1504
1505
15051506
15061507
15071508
......
88998900
89008901
89018902
8902
8903
89038904
89048905
8905
8906
89068907
89078908
89088909
</object>
<int key="NSResizingMask">3</int>
<bool key="NSIsResizeable">YES</bool>
<bool key="NSIsEditable">YES</bool>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<object class="NSButtonCell" key="NSCell" id="593218630">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134348800</int>
<string key="NSContents">Create Boot CD</string>
<string key="NSContents">Create ISO</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="1016696170"/>
<int key="NSButtonFlags">-2033434369</int>
<object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Boot CD Creator</string>
<string key="NSContents">Rescue Boot CD Creator</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSBackgroundColor" ref="501125233"/>
<object class="NSColor" key="NSTextColor">
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{56, 166}, {668, 439}}</string>
<string>{{141, 149}, {668, 439}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>{{56, 166}, {668, 439}}</string>
<string>{{141, 149}, {668, 439}}</string>
<integer value="1"/>
<integer value="1"/>
<string>{224.664, 10}</string>

Archive Download the corresponding diff file

Revision: 353