From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RKoFd-0005di-68 for openembedded-devel@lists.openembedded.org; Mon, 31 Oct 2011 10:33:53 +0100 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 31 Oct 2011 02:27:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.69,429,1315206000"; d="scan'208";a="31682423" Received: from unknown (HELO helios.localnet) ([10.252.121.56]) by AZSMGA002.ch.intel.com with ESMTP; 31 Oct 2011 02:27:46 -0700 From: Paul Eggleton To: Ulf Samuelsson Date: Mon, 31 Oct 2011 09:27:43 +0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic-pae; KDE/4.6.5; i686; ; ) References: <4EAC051D.2090708@telia.com> In-Reply-To: <4EAC051D.2090708@telia.com> MIME-Version: 1.0 Message-Id: <201110310927.43859.paul.eggleton@linux.intel.com> Cc: openembedded-devel@lists.openembedded.org 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: Mon, 31 Oct 2011 09:33:53 -0000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Saturday 29 October 2011 14:52:29 Ulf Samuelsson wrote: > 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? Perhaps you could do this by appending to ROOTFS_POSTPROCESS_COMMAND within the image recipe? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre