Hi Paul, LTIB questions like this should probably be asked on the LTIB specific mailing list:
http://savannah.nongnu.org/mail/?group=ltib To answer your question, to modify the rc.conf file you need to modify the sysconfig.spec file in: <ltib>/dist/lfs-5.1/sysconfig/sysconfig.spec You can see a section in there that creates the rc.conf file. You can add your changes to that section, it's pretty straight forward. (I believe in later versions of LTIB this bug is fixed and the file won't be overwritten if it was included in the platform merge directory.) Is the problem only with rc.conf? If the usbotg file isn't being copied from the merge directory you may need to add it to the sysconfig.spec file by following the example of how the rc.conf file is created. Hope this helps, Matt Paul Maddox wrote:
Hi, I'm new to this list, and new to uCLinux, so please excuse me if I ask daft questions. I'm trying to build an image file that will load the USB OTG driver on boot (I currently have to type - insmod /lib/modules/2.6.17.7-uc1/kernel/drivers/usb/host/ehci-hcd.ko every time). Now I've tried adding a file in /etc/rc.d/init.d/ called usbotg and mofiying the rc.conf file, but every time I rebuild the image using ltib what ever changes I make don't get incorperated (the rootfs directory seems to be recreated from no where each build) and I've also tried putting it in the config/platform/m5253/merge/ file system, each time with the same results. Can anyone give me a clue where to start? And how to do this? Many thanks Paul _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
