version 1.2.4.3, 2012/02/22 22:44:16
|
version 1.2.4.6, 2012/03/20 15:54:00
|
Line 58 build_romfs()
|
Line 58 build_romfs()
|
install -d share/skel; |
install -d share/skel; |
install -d share/zoneinfo; |
install -d share/zoneinfo; |
|
|
ln -s /elwix/local local; | ln -s /elwix/pkg pkg; |
|
|
chown -hR root:wheel . |
chown -hR root:wheel . |
cd - |
cd - |
Line 69 install_romfs()
|
Line 69 install_romfs()
|
LIBS="${ROMFS_USR}/lib" |
LIBS="${ROMFS_USR}/lib" |
LIBEXEC="${ROMFS_USR}/libexec" |
LIBEXEC="${ROMFS_USR}/libexec" |
LIBDATA="${ROMFS_USR}/libdata" |
LIBDATA="${ROMFS_USR}/libdata" |
SKEL="${ROMFS_USR}/share/skel" |
|
MISC="${ROMFS_USR}/share/misc" |
|
BIN="${ROMFS_USR}/bin" |
BIN="${ROMFS_USR}/bin" |
SBIN="${ROMFS_USR}/sbin" |
SBIN="${ROMFS_USR}/sbin" |
|
SHARE="${ROMFS_USR}/share" |
|
SKEL="${SHARE}/skel" |
|
MISC="${SHARE}/misc" |
|
|
echo "+++ Install ELWIX RomFS software ..." |
echo "+++ Install ELWIX RomFS software ..." |
if [ -r ${BSDSRC}/release/picobsd/mfs_tree/etc/termcap ]; then |
if [ -r ${BSDSRC}/release/picobsd/mfs_tree/etc/termcap ]; then |
Line 101 install_romfs()
|
Line 102 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 |
|
|
|
# InstallDir ${PKGDIR}/bin $BIN |
|
InstallDir ${PKGDIR}/sbin $SBIN |
|
|
InstallFiles \*.so\* ${PKG}/lib $LIBS |
InstallFiles \*.so\* ${PKG}/lib $LIBS |
InstallFiles \* ${PKG}/libexec $LIBEXEC |
InstallFiles \* ${PKG}/libexec $LIBEXEC |
InstallFiles \* ${PKG}/libdata $LIBDATA |
InstallFiles \* ${PKG}/libdata $LIBDATA |
Line 127 build_image()
|
Line 131 build_image()
|
} |
} |
|
|
### main() |
### main() |
if SnitVer ${WORLD}/elwix.ver; then | clean_romfs |
clean_romfs | |
|
|
build_romfs | build_romfs |
install_romfs | install_romfs |
|
|
build_image | build_image |
else | |
echo "Skipped ELWIX RomFS build ..." | |
fi | |
|
|
echo "+++ Complete build ELWIX RomFS" |
echo "+++ Complete build ELWIX RomFS" |