Jivin Wolfgang Wegner lays it down ...
> Hi David (and others),
>
> I finally found what causes the initramfs not to work:
>
> I have to have /init in the initramfs filesystem, else the kernel does
> not use it.
Good stuff :-)
> The Makefiles do install /bin/init and /linuxrc as a symbolic link to
> /bin/init, but no /init and the kernel needs exactly this.
>
> I do not know if this a kernel or Makefile bug, but finally it is
> somlved (for me).
>
> While we are at it:
> I tried adding/changing some hooks in vendors/my_company/my_project/Makefile,
> but they seem not to take any effect - when are these Makefiles used?
> (Mainly I wanted a project-specific /etc/rc and /etc/inittab)
put the files (rc and inittab) into vendors/my_company/my_project/.
Then in the "romfs" section of vendors/my_company/my_project/Makefile
add the folowing lines:
$(ROMFSINST) /etc/rc
$(ROMFSINST) /etc/inittab
$(ROMFSINST) -s /bin/init /init
then when you run:
make romfs
or just when you do a full build, the files (and symlink)
will get installed. There are lots of examples in the tree
for doing this, have a look around,
Cheers,
Davidm
--
David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
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