version 1.2.4.9, 2012/10/09 11:29:24
|
version 1.6.2.10, 2013/08/02 13:55:36
|
Line 53 build_romfs()
|
Line 53 build_romfs()
|
install -d lib/geom; |
install -d lib/geom; |
install -d libdata; |
install -d libdata; |
install -d libexec; |
install -d libexec; |
|
install -d local; |
|
install -d local/bin; |
|
install -d local/lib; |
|
install -d local/libexec; |
|
install -d local/libdata; |
|
install -d local/sbin; |
install -d share; |
install -d share; |
install -d share/misc; |
install -d share/misc; |
install -d share/skel; |
install -d share/skel; |
Line 102 install_romfs()
|
Line 108 install_romfs()
|
InstallDir ${WORLD}/usr/local/lib $LIBS |
InstallDir ${WORLD}/usr/local/lib $LIBS |
InstallDir ${WORLD}/usr/local/libdata $LIBDATA |
InstallDir ${WORLD}/usr/local/libdata $LIBDATA |
|
|
install -d ${PKGDIR}/bin |
|
# InstallDir ${PKGDIR}/bin $BIN |
|
install -d ${PKGDIR}/sbin |
|
InstallDir ${PKGDIR}/sbin $SBIN |
|
|
|
InstallFiles \*.so\* ${PKG}/lib $LIBS |
|
InstallFiles \* ${PKG}/libexec $LIBEXEC |
|
InstallFiles \* ${PKG}/libdata $LIBDATA |
|
InstallFiles \* ${PKG}/bin $BIN |
|
InstallFiles \* ${PKG}/sbin $SBIN |
|
|
|
chown -R root:wheel $SBIN $BIN $LIBDATA $LIBEXEC $LIBS |
chown -R root:wheel $SBIN $BIN $LIBDATA $LIBEXEC $LIBS |
} |
} |
|
|
build_image() |
build_image() |
{ |
{ |
echo "+++ Build ELWIX Firmware image ..." | echo "+++ Build ELWIX Firmware system image ..." |
|
|
cd ${ROMFS_USR} |
cd ${ROMFS_USR} |
pax -w -z -v -f${REL}/${ROMFS_IMG} . |
pax -w -z -v -f${REL}/${ROMFS_IMG} . |
|
cd - |
|
|
# Stop using uzip fs |
# Stop using uzip fs |
# makefs -ominfree=0,bsize=8192,fsize=1024,optimization=space -s${ROMFS_SIZE} \ |
# makefs -ominfree=0,bsize=8192,fsize=1024,optimization=space -s${ROMFS_SIZE} \ |
Line 137 build_image()
|
Line 133 build_image()
|
|
|
### main() |
### main() |
clean_romfs |
clean_romfs |
|
|
build_romfs |
build_romfs |
install_romfs |
|
|
|
|
install_romfs |
build_image |
build_image |
|
|
echo "+++ Complete build ELWIX RomFS" |
echo "+++ Complete build ELWIX RomFS" |