Chameleon

Chameleon Commit Details

Date:2011-08-17 13:37:30 (12 years 8 months ago)
Author:Azimutz
Commit:1419
Parents: 1418
Message:Core pkg changes: ditch /usr/sbin and install fdisk440 and bdmesg to /usr/local/bin. Besides being easier to find on local/bin, there are advantages on installing "some" files here instead of sbin, not the case with these two.
Changes:
M/branches/azimutz/Package/package/buildpkg.sh

File differences

branches/azimutz/Package/package/buildpkg.sh
6161
6262
6363
64
64
6565
6666
6767
......
8282
8383
8484
85
86
85
86
8787
8888
8989
......
328328
329329
330330
331
331
332332
333333
334334
echo "================= Core ================="
((xmlindent++))
packagesidentity="org.chameleon.core"
mkdir -p ${1}/Core/Root/usr/sbin
#mkdir -p ${1}/Core/Root/usr/sbin #Azipkg
mkdir -p ${1}/Core/Root/usr/local/bin
mkdir -p ${1}/Core/Root/usr/standalone/i386
# if [ "$(ls -A "${1%/*}/i386/modules")" ]; then
ditto --noextattr --noqtn ${1%/*}/i386/cdboot ${1}/Core/Root/usr/standalone/i386
ditto --noextattr --noqtn ${1%/*}/i386/chain0 ${1}/Core/Root/usr/standalone/i386
# fixperms "${1}/Core/Root/"
ditto --noextattr --noqtn ${1%/*}/i386/fdisk440 ${1}/Core/Root/usr/sbin
ditto --noextattr --noqtn ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/sbin
ditto --noextattr --noqtn ${1%/*}/i386/fdisk440 ${1}/Core/Root/usr/local/bin #Azipkg
ditto --noextattr --noqtn ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/local/bin #Azipkg
local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} )
echo "[BUILD] i386 "
buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\"" >/dev/null 2>&1
# clean up
#rm -R -f "${1}" Azipkg: uncoment when done
#rm -R -f "${1}" #Azipkg: uncoment when done
}

Archive Download the corresponding diff file

Revision: 1419