Citando Harry Gunnarsson <[EMAIL PROTECTED]>: > I am not sure exactly how you build your image.
Let me explain it like if I use a script, start in folder images : $ mkdir tmp $ mount -o loop romfs.img tmp $ sudo cp tmp newromfs # make all modifications that I need, in this case add an /etc/passwd file $ genromfs -v "RomVolume" -d newromfs -f newromfs.img # and generate the bin to send by tftpd $ cat linux.bin > image.bin $ cat newromfs >> image.bin $ mv image.bin /tftpboot/ And I have a new image.bin :) > So in your vendors/<vendor>/<board> directory you can add a line in your > make file in the romfs target. > In vendors/<vendor>/<board>/Makefile, search for the following line > > $(ROMFSINST) /etc/rc > > It copies vendors/<vendor>/<board>/rc to romfs/etc/rc. So do this > - copy the passwd file to vendors/<vendor>/<board> > - add $(ROMFSINST) /etc/passwd to the Makefile (after the /etc/rc line) > - Make everything > - check that romfs/etc/passwd exists > Will try it later, thanks for the tip ;) -- _______________________________________________ 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
