--- elwix/build_fs.sh 2011/10/20 23:44:52 1.2.2.2 +++ elwix/build_fs.sh 2011/10/25 13:55:56 1.2.2.4 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.2.2.2 2011/10/20 23:44:52 misho Exp $ +# $Id: build_fs.sh,v 1.2.2.4 2011/10/25 13:55:56 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -99,10 +99,13 @@ mkboot() InstallDir ${WORLD}/boot $1/boot install -m 644 ${CFGDIR}/boot/boot.config $1; - install -m 644 ${CFGDIR}/boot/beastie.4th $1/boot; - install -m 644 ${CFGDIR}/boot/brand.4th $1/boot; - install -m 644 ${CFGDIR}/boot/menu.4th $1/boot; + install -m 444 ${CFGDIR}/boot/beastie.4th $1/boot; + install -m 444 ${CFGDIR}/boot/brand.4th $1/boot; + install -m 444 ${CFGDIR}/boot/menu.4th $1/boot; + + install -m 444 ${KERNDEVHINTS} $1/boot/device.hints; + if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf; else @@ -167,6 +170,8 @@ mketc() find ${FS_ETC} -name .#\* -exec rm -f {} \; InstallDir ${FS_ETC} $1/etc + + find $1/etc -name CVS -exec rm -rf {} \; chown -R root:wheel $1/etc;