Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf_samuelsson@telia.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: How best replace /etc/init.d files with debugging versions right before jffs2 file is generated?
Date: Sat, 29 Oct 2011 16:21:25 +0200	[thread overview]
Message-ID: <4EAC0BE5.5030500@telia.com> (raw)
In-Reply-To: <4EAC051D.2090708@telia.com>

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




  reply	other threads:[~2011-10-29 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 13:52 How best replace /etc/init.d files with debugging versions right before jffs2 file is generated? Ulf Samuelsson
2011-10-29 14:21 ` Ulf Samuelsson [this message]
2011-10-29 15:00   ` Anders Darander
2011-10-29 16:01     ` Ulf Samuelsson
2011-10-31  7:08       ` Anders Darander
2011-10-31  9:27 ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EAC0BE5.5030500@telia.com \
    --to=ulf_samuelsson@telia.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox