From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RK9sh-0005Po-TU for openembedded-devel@lists.openembedded.org; Sat, 29 Oct 2011 16:27:31 +0200 Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 86126D3D5 for ; Sat, 29 Oct 2011 16:21:26 +0200 (CEST) X-SENDER-IP: [83.227.59.253] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am4kAE0LrE5T4zv9PGdsb2JhbAAMNok+kRmNAYIoAQEBATeCJAEBAQEDOEARCyEWBAsJAwIBAgExFBMIAQG7GINBhUEElA6RYQ X-IronPort-AV: E=Sophos;i="4.69,424,1315173600"; d="scan'208";a="505156293" Received: from c-fd3be353.011-39-73746f12.cust.bredbandsbolaget.se (HELO [10.175.196.249]) ([83.227.59.253]) by iph1.telenor.se with ESMTP; 29 Oct 2011 16:21:26 +0200 Message-ID: <4EAC0BE5.5030500@telia.com> Date: Sat, 29 Oct 2011 16:21:25 +0200 From: Ulf Samuelsson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4EAC051D.2090708@telia.com> In-Reply-To: <4EAC051D.2090708@telia.com> Subject: Re: How best replace /etc/init.d files with debugging versions right before jffs2 file is generated? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 14:27:32 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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