version 1.7.6.1, 2014/02/25 22:49:30
|
version 1.8.2.1, 2016/11/14 00:56:05
|
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 libexec/casper; |
|
install -d local; |
install -d local; |
install -d local/bin; |
install -d local/bin; |
install -d local/lib; |
install -d local/lib; |
Line 97 install_romfs()
|
Line 96 install_romfs()
|
install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; |
install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; |
install -v ${CFGDIR}/root.skel/vimrc $SKEL/dot.vimrc; |
install -v ${CFGDIR}/root.skel/vimrc $SKEL/dot.vimrc; |
|
|
find ${WORLD}/lib -type f -name \*.so.\* -exec install {} $LIBS \; | find ${WORLD}/lib -type f -name \*.so.\* ! -name \*.debug -exec install {} $LIBS \; |
find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \; |
find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \; |
find ${WORLD}/lib/geom -type f -name \*.so -exec install {} $LIBS/geom \; |
find ${WORLD}/lib/geom -type f -name \*.so -exec install {} $LIBS/geom \; |
find ${WORLD}/usr/lib -type f -name \*.so.\* -exec install {} $LIBS \; | find ${WORLD}/usr/lib -type f -name \*.so.\* ! -name \*.debug -exec install {} $LIBS \; |
| find ${WORLD}/usr/lib/engines -type f -name \*.so -exec install {} $LIBS/engines \; |
|
|
InstallList ${ELWIX_ROMFS} ${WORLD} ${ROMFS} |
InstallList ${ELWIX_ROMFS} ${WORLD} ${ROMFS} |
|
|
Line 108 install_romfs()
|
Line 108 install_romfs()
|
InstallDir ${WORLD}/usr/local/sbin $SBIN |
InstallDir ${WORLD}/usr/local/sbin $SBIN |
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 ${WORLD}/libexec/casper $LIBEXEC/casper |
|
|
|
chown -R root:wheel $SBIN $BIN $LIBDATA $LIBEXEC $LIBS |
chown -R root:wheel $SBIN $BIN $LIBDATA $LIBEXEC $LIBS |
} |
} |
Line 134 build_image()
|
Line 133 build_image()
|
} |
} |
|
|
### main() |
### main() |
clean_romfs | clean_romfs || exit 1 |
build_romfs | build_romfs || exit 1 |
|
|
install_romfs | install_romfs || exit 1 |
build_image | build_image || exit 1 |
|
|
echo "+++ Complete build ELWIX RomFS" |
echo "+++ Complete build ELWIX RomFS" |