--- elwix/config/rc.subr 2014/01/05 23:14:23 1.8 +++ elwix/config/rc.subr 2014/01/14 23:38:26 1.8.2.1 @@ -4,7 +4,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: rc.subr,v 1.8 2014/01/05 23:14:23 misho Exp $ +# $Id: rc.subr,v 1.8.2.1 2014/01/14 23:38:26 misho Exp $ # ### Dont edit this file !!! @@ -186,18 +186,20 @@ MakeFS_boot() install -m 644 ${CFGDIR}/boot/boot.config $1; - 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; + case ${TARGET} in + i386) + 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; + ;; + *) + ;; + esac 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 - echo; - echo "Can't find right loader.conf for TARGET_ARCH=${TARGET_ARCH} ... loader.conf not installed!"; - echo; fi; }