--- elwix/build_romfs.sh 2013/08/02 13:55:36 1.6.2.10 +++ elwix/build_romfs.sh 2016/11/14 00:56:05 1.8.2.1 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_romfs.sh,v 1.6.2.10 2013/08/02 13:55:36 misho Exp $ +# $Id: build_romfs.sh,v 1.8.2.1 2016/11/14 00:56:05 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -96,10 +96,11 @@ install_romfs() install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; 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/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} @@ -132,10 +133,10 @@ build_image() } ### main() -clean_romfs -build_romfs +clean_romfs || exit 1 +build_romfs || exit 1 -install_romfs -build_image +install_romfs || exit 1 +build_image || exit 1 echo "+++ Complete build ELWIX RomFS"