sync up configuration this is for ppc kernel builds Reference: /n/atom/patch/applied/ppcconfig Date: Tue Apr 15 22:23:32 CES 2014 Signed-off-by: quanstro@quanstro.net # rm /sys/lib/sysconfig/blast/boot --- /sys/lib/sysconfig/ppc/boot Thu Jan 1 00:00:00 1970 +++ /sys/lib/sysconfig/ppc/boot Tue Apr 15 22:23:19 2014 @@ -0,0 +1,32 @@ +#!/boot/rc -m /boot/rcmain + +cpuserver=yes +cd /boot +echo boot... +bind -a '#I' /net +bind -a '#l0' /net +bind -a '#S' /dev +bind '#p' /proc +bind '#d' /fd +bind -a /boot / + +ipconfig + +authaddr=`{sed -n 's/ auth=(.*)/\1/p' /net/ndb|sed 1q} +fsaddr=`{sed -n 's/ fs=(.*)/\1/p' /net/ndb|sed 1q} + +factotum -sfactotum -S -a $authaddr + +if(! srv tcp!$fsaddr!564 boot){ + if(! srv il!$fsaddr!17008 boot) + exec ./rc -m/boot/rcmain -i +} + +if(! mount -c /srv/boot /root) + exec ./rc -m/boot/rcmain -i + +bind -ac /root / +rootdir=/root +rootspec='' +/$cputype/init -c +exec ./rc -m/boot/rcmain -i