[oe] How best replace /etc/init.d files with debugging versions right before jffs2 file is generated?

Ulf Samuelsson ulf_samuelsson at telia.com
Sat Oct 29 14:21:25 UTC 2011


2011-10-29 15:52, Ulf Samuelsson skrev:
> Having some problems booting a rootfs generated by openembedded,
>
> "hwclock can't find /dev/misc/rtc"
>
> and I would like to emit some debug  information by replacing some files
> in the /etc/init.d directory before the rootfs is finalized.
>
> If I try to "install" from another package, I will get a conflict.
>
> I guess I could loop mount the file system and then copy.
> Any other suggestions?
>

Just discovered that loop mounting jffs2 isn't that easy.
Need to find the blkmtd driver somewhere, recompile kernel?

I can of course add some files to tmp/rootfs and regenerate the jffs2.

Other ideas (allowing automation) appreciated.

-- 
Best Regards
Ulf Samuelsson





More information about the Openembedded-devel mailing list