Chameleon

Chameleon Commit Details

Date:2015-04-19 02:24:26 (9 years 1 day ago)
Author:ErmaC
Commit:2657
Parents: 2656
Message:Added missed script for chameleon pkg (SkipStage0 SkipStage1 SkipActivePartition) also correct sectorsize.c ( http://www.insanelymac.com/forum/topic/231075-chameleon-23svn-officia l-pkg-installer-binaries/page-145?p=2129170#entry2129170)
Changes:
A/trunk/package/Scripts/Main/SkipStage0
A/trunk/package/Scripts/Main/SkipStage1
A/trunk/package/Scripts/Main/SkipActivePartition
M/trunk/i386/util/sectorsize.c

File differences

trunk/i386/util/sectorsize.c
119119
120120
121121
122
122
123123
124124
125125
if (ioctl(diskdevice, DKIOCGETPHYSICALBLOCKSIZE, &size) != -1) {
printf("Physical %u", size);
} else if (!ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {
} else if (ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {
printf("Locical %u\n", size);
} else {
printf("Standard 512");
trunk/package/Scripts/Main/SkipStage0
1
2
3
4
5
6
7
8
#!/bin/bash
configFile="/private/tmp/InstallConfig.plist"
# adding option to declare that we are installing the bootloader w/o writing the Stage0
/usr/libexec/PlistBuddy -c "Add :SkipStage0 bool true" ${configFile}
exit 0
trunk/package/Scripts/Main/SkipStage1
1
2
3
4
5
6
7
8
#!/bin/bash
configFile="/private/tmp/InstallConfig.plist"
# adding option to declare that we are installing the bootloader w/o writing the Stage1
/usr/libexec/PlistBuddy -c "Add :SkipStage1 bool true" ${configFile}
exit 0
trunk/package/Scripts/Main/SkipActivePartition
1
2
3
4
5
6
7
8
#!/bin/bash
configFile="/private/tmp/InstallConfig.plist"
# adding option to declare that we are installing the bootloader w/o activate the partition
/usr/libexec/PlistBuddy -c "Add :SkipActivePartition bool true" ${configFile}
exit 0

Archive Download the corresponding diff file

Revision: 2657