version 1.2.2.4, 2011/10/25 13:55:56
|
version 1.3.2.1, 2011/11/02 10:13:21
|
Line 167 _EOF
|
Line 167 _EOF
|
mketc() |
mketc() |
{ |
{ |
echo "+++ Build ELWIX FS etc directory ..." |
echo "+++ Build ELWIX FS etc directory ..." |
find ${FS_ETC} -name .#\* -exec rm -f {} \; |
|
|
|
InstallDir ${FS_ETC} $1/etc |
InstallDir ${FS_ETC} $1/etc |
|
|
find $1/etc -name CVS -exec rm -rf {} \; |
|
|
|
chown -R root:wheel $1/etc; |
chown -R root:wheel $1/etc; |
|
|
chmod 0600 $1/etc/opieaccess; |
chmod 0600 $1/etc/opieaccess; |
Line 236 install_fsdir()
|
Line 232 install_fsdir()
|
|
|
install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel |
install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel |
|
|
install -v ${REL}/${ROMFS_IMG} ${FS}/elwix-firmware-${VERSION}_${TARGET_ARCH} | install -v ${REL}/${ROMFS_IMG} ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} |
ln -s /elwix/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG} | ln -s /elwix/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG} |
|
|
cd $FS |
cd $FS |
tar -czvf ${REL}/${OS} . |
tar -czvf ${REL}/${OS} . |
Line 248 cleancvs()
|
Line 244 cleancvs()
|
echo "+++ ELWIX clean CVS tags ..." |
echo "+++ ELWIX clean CVS tags ..." |
|
|
find $1 -type d -name CVS -exec rm -rf {} \; >/dev/null 2>&1 |
find $1 -type d -name CVS -exec rm -rf {} \; >/dev/null 2>&1 |
|
find $1 -type f -name .#\* -exec rm -f {} \; >/dev/null 2>&1 |
} |
} |
|
|
### main() |
### main() |
Line 268 mkhome ${FS}
|
Line 265 mkhome ${FS}
|
mkvar ${FS} |
mkvar ${FS} |
mketc ${FS} |
mketc ${FS} |
cleancvs ${FS} |
cleancvs ${FS} |
|
cleancvs ${FS}/etc |
mkbackup ${FS} |
mkbackup ${FS} |
|
|
install_fsdir |
install_fsdir |