Chameleon

Chameleon Commit Details

Date:2011-10-23 03:42:15 (8 years 7 months ago)
Author:ErmaC
Commit:1652
Parents: 1651
Message:Refine.
Changes:
D/branches/ErmaC/Trunk/package/Scripts/Main/Standard
D/branches/ErmaC/Trunk/package/Scripts/Main/EFI
D/branches/ErmaC/Modules/package/Scripts/Main/Standard
D/branches/ErmaC/Trunk/package/Scripts/Main/Post
D/branches/ErmaC/Modules/package/Scripts/Main/EFI
D/branches/ErmaC/Modules/package/Scripts/Main/Post
M/branches/ErmaC/Modules/CREDITS
M/branches/ErmaC/Trunk/package/builddmg.sh
M/branches/ErmaC/Trunk/CREDITS

File differences

branches/ErmaC/Trunk/package/builddmg.sh
3939
4040
4141
42
4243
4344
4445
......
5152
5253
5354
54
55
5556
5657
5758
58
59
5960
6061
6162
......
7576
7677
7778
78
79
80
79
80
81
82
83
84
8185
8286
8387
84
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
85105
86106
87107
......
138158
139159
140160
141
161
142162
143163
144164
......
155175
156176
157177
158
159
160
161
178
179
180
181
162182
163183
164184
......
211231
212232
213233
234
214235
revision=$( grep I386BOOT_CHAMELEONREVISION vers.h | awk '{ print $3 }' | tr -d '\"' )
builddate=$( grep I386BOOT_BUILDDATE vers.h | awk '{ print $3,$4 }' | tr -d '\"' )
timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" )
CHAMELEON_PACKAGE_NAME=${VOLUME_NAME}-${version}-r${revision}
# =========================
# Start of building process
echo ""
# =================================
# 1) Clean previus builded contents
# 1) Clean previous builded contents
# =================================
if [ -x ${SRC_FOLDER} ]; then
echo "Deleting previus existing source folder/content "
echo "Deleting previous existing source folder/content "
rm -R ${SRC_FOLDER}
rm -f ${DMG_TEMP_NAME}
fi
ditto -xk "${pkgroot}/Icons/doc.zip" "${SRC_FOLDER}/"
ditto -xk "${pkgroot}/Icons/pan.zip" "${SRC_FOLDER}/"
ditto -xk "${pkgroot}/Icons/tm.zip" "${SRC_FOLDER}/"
mv ${SYM_ROOT}/${VOLUME_NAME}.pkg ${SRC_FOLDER}/${VOLUME_NAME}.pkg
cp -r ${pkgroot}/doc/* ${SRC_FOLDER}/Documentation/
#mv ${SYM_ROOT}/${VOLUME_NAME}.pkg ${SRC_FOLDER}/${VOLUME_NAME}.pkg
cp -r ${SYM_ROOT}/${CHAMELEON_PACKAGE_NAME}.pkg ${SRC_FOLDER}/${CHAMELEON_PACKAGE_NAME}.pkg
#cp -r ${pkgroot}/doc/* ${SRC_FOLDER}/Documentation/
cp -r ${SYM_ROOT%/*}/doc/BootHelp.txt ${SRC_FOLDER}/Documentation/
cp -r ${SYM_ROOT%/*}/doc/Users_Guide0.5.pdf ${SRC_FOLDER}/Documentation/
cp -r ${pkgroot}/Configuration/PrefPanel/* ${SRC_FOLDER}/PrefPanel/
cp -r ${SYM_ROOT}/i386/* ${SRC_FOLDER}/i386/
cp -r ${SYM_ROOT%/*}/artwork/themes/* ${SRC_FOLDER}/Themes/
rm -rf ${SRC_FOLDER}`find . -type d -name .svn`
#rm -rf ${SRC_FOLDER}`find . -type d -name .svn`
# The above line caused problems with svn reporting changes to all
# directories in the Chameleon source folder that exist before compiling
# svn status would show the following:
# ~ Chameleon.xcodeproj
# ~ artwork
# ~ i386
# ~ package
# ~ doc
# I've changed the code to this for now to get round the problem.
# Hopefully someone else can find out why it was happenening.
svnFilesToRemove=($( find "${SRC_FOLDER}" -type d -name '.svn'))
for (( i = 0 ; i < ${#svnFilesToRemove[@]} ; i++ ))
do
rm -rf ${svnFilesToRemove[$i]}
done
# =======================================
# 4) Find the size of the folder contents
# 9) Make sure it's not world writeable
# =====================================
mv ${SRC_FOLDER}/${VOLUME_NAME}.pkg ${MOUNT_DIR}/${VOLUME_NAME}.pkg
mv ${SRC_FOLDER}/${CHAMELEON_PACKAGE_NAME}.pkg ${MOUNT_DIR}/${VOLUME_NAME}.pkg
cp -R ${SRC_FOLDER}/Documentation ${MOUNT_DIR}/
cp -R ${SRC_FOLDER}/PrefPanel ${MOUNT_DIR}/
cp -R ${SRC_FOLDER}/i386 ${MOUNT_DIR}/
# =============================================
echo "[openUp] Setting auto open flag"
if [ -x ${OPENUP_TOOL} ]; then
echo "Applying openUp..."
${OPENUP_TOOL} "${MOUNT_DIR}" >/dev/null 2>&1
fi
if [ -x ${OPENUP_TOOL} ]; then
echo "Applying openUp..."
${OPENUP_TOOL} "${MOUNT_DIR}" >/dev/null 2>&1
fi
echo " "
# ===========
echo "===================="
echo ""
#-----
exit 0
branches/ErmaC/Trunk/CREDITS
33
44
55
6
6
77
88
99
10
10
1111
1212
1313
14
14
Developers:
----------
zef, Turbo, dfe, netkas, mackerintel, mercurysquad, fassl, Kabyl, Crazor, Dense, Turbo, kaitek, iNDi, munky, JrCs, asereBLN, rekursor, mozodojo, meklort, anval, AzimutZ, Slice, cosmo1t, cparm
zef, Turbo, dfe, netkas, mackerintel, mercurysquad, fassl, Kabyl, Crazor, Dense, Turbo, kaitek, iNDi, munky, JrCs, asereBLN, rekursor, mozodojo, meklort, AnV, valv, AzimutZ, Slice, cosmo1t, cparm
Thanks to:
---------
bumby, kalyway, Krazubu, XyZ, Galaxy, sckevyn, MasterChief, smith@@, blackosx, DHP, nawcom, anval, scorpius, macman, dmazar
bumby, kalyway, Krazubu, XyZ, Galaxy, sckevyn, MasterChief, smith@@, blackosx, DHP, nawcom, scorpius, macman, dmazar
Package:
---------
AzimutZ, blackosx, ErmaC, scrax
kalyway, AzimutZ, blackosx, ErmaC, scrax
branches/ErmaC/Modules/CREDITS
33
44
55
6
6
77
88
99
10
10
1111
1212
1313
14
14
Developers:
----------
zef, Turbo, dfe, netkas, mackerintel, mercurysquad, fassl, Kabyl, Crazor, Dense, Turbo, kaitek, iNDi, munky, JrCs, asereBLN, rekursor, mozodojo, meklort, anval, AzimutZ, Slice, cosmo1t, cparm
zef, Turbo, dfe, netkas, mackerintel, mercurysquad, fassl, Kabyl, Crazor, Dense, Turbo, kaitek, iNDi, munky, JrCs, asereBLN, rekursor, mozodojo, meklort, AnV, valv, AzimutZ, Slice, cosmo1t, cparm
Thanks to:
---------
bumby, kalyway, Krazubu, XyZ, Galaxy, sckevyn, MasterChief, smith@@, blackosx, DHP, nawcom, anval, scorpius, macman, dmazar
bumby, kalyway, Krazubu, XyZ, Galaxy, sckevyn, MasterChief, smith@@, blackosx, DHP, nawcom, scorpius, macman, dmazar
Package:
---------
AzimutZ, blackosx, ErmaC, scrax
kalyway, AzimutZ, blackosx, ErmaC, scrax

Archive Download the corresponding diff file

Revision: 1652