version 1.3.2.7, 2012/05/29 14:24:05
|
version 1.3.2.10, 2012/10/10 13:02:11
|
Line 60 build_fsdir()
|
Line 60 build_fsdir()
|
install -d altroot/var/db; |
install -d altroot/var/db; |
install -d -m 0555 altroot/var/empty; |
install -d -m 0555 altroot/var/empty; |
install -d altroot/var/log; |
install -d altroot/var/log; |
install -d -o 80 -g 80 altroot/var/log/lighttpd; | # install -d -o 80 -g 80 altroot/var/log/lighttpd; |
install -d -o 101 -g 101 altroot/var/log/quagga; |
install -d -o 101 -g 101 altroot/var/log/quagga; |
install -d altroot/var/named; |
install -d altroot/var/named; |
install -d altroot/var/run; |
install -d altroot/var/run; |
install -d -o 80 -g 80 altroot/var/run/lighttpd; | # install -d -o 80 -g 80 altroot/var/run/lighttpd; |
install -d -o 53 -g 53 altroot/var/run/named; |
install -d -o 53 -g 53 altroot/var/run/named; |
install -d -o 101 -g 101 altroot/var/run/quagga; |
install -d -o 101 -g 101 altroot/var/run/quagga; |
install -d altroot/var/spool; |
install -d altroot/var/spool; |
Line 241 install_fsdir()
|
Line 241 install_fsdir()
|
|
|
install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel |
install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel |
|
|
install -v ${REL}/${ROMFS_IMG} ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} | if [ "${BUILD_FRMIMG}" = "YES" ]; then |
ln ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/altroot/${ROMFS_IMG} | install -v ${REL}/${ROMFS_IMG} ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} |
ln -s /elwix/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG} | ln ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/altroot/${ROMFS_IMG} |
| ln -s /elwix/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG} |
| |
| install -v ${REL}/${ROMFS_IMG2} ${FS}/altroot/elwix-firmware2-${VERSION}_${TARGET_ARCH} |
| ln ${FS}/altroot/elwix-firmware2-${VERSION}_${TARGET_ARCH} ${FS}/altroot/${ROMFS_IMG2} |
| ln -s /elwix/altroot/elwix-firmware2-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG2} |
| else |
| install -d ${FS}/usr |
| cd ${FS}/usr |
| pax -r -z -pe -f ${REL}/${ROMFS_IMG} |
| cd - |
| fi |
|
|
cd $FS |
cd $FS |
tar -czvf ${REL}/${OS} . |
tar -czvf ${REL}/${OS} . |