version 1.7.2.6, 2013/07/31 13:56:23
|
version 1.7.2.7, 2013/07/31 14:57:01
|
Line 37 clean_rel()
|
Line 37 clean_rel()
|
|
|
mkdir -p $1 |
mkdir -p $1 |
|
|
cd ${ROMFS} | if [ -d ${BASEFS} ]; then |
pax -rw -pe -X . $1 | cd ${BASEFS} |
cd - | pax -rw -pe -X . $1 |
| cd - |
| fi |
} |
} |
|
|
build_vardir() |
build_vardir() |
Line 236 install_rel()
|
Line 238 install_rel()
|
cd -; |
cd -; |
|
|
case "$2" in |
case "$2" in |
_128) |
|
install -d $1/usr/local |
|
cd $1/usr/local |
|
pax -r -z -pe -f ${REL}/${ROMFS_IMG2} |
|
cd - |
|
|
|
OSZ=${REL}/${OS_128} |
|
;; |
|
*) |
*) |
OSZ=${REL}/${OS} |
OSZ=${REL}/${OS} |
;; |
;; |
Line 254 install_rel()
|
Line 248 install_rel()
|
} |
} |
|
|
### main() |
### main() |
if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS_IMG} ]; then |
|
echo |
|
echo "Error:: not found kernel or firmware elwix files ..." |
|
echo |
|
echo " For fix this issue, please re-run build_rootfs.sh or build_romfs.sh" |
|
echo |
|
exit 1 |
|
fi |
|
|
|
clean_rel ${FS} ${REL}/${OS} |
clean_rel ${FS} ${REL}/${OS} |
build_vardir ${FS}/elwix |
build_vardir ${FS}/elwix |
mkhome ${FS}/elwix |
mkhome ${FS}/elwix |