From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Qe337-0005mh-R2 for openembedded-core@lists.openembedded.org; Tue, 05 Jul 2011 12:40:14 +0200 Received: from cambridge.roku.com ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Qe2zS-0001FC-Ik for openembedded-core@lists.openembedded.org; Tue, 05 Jul 2011 12:36:26 +0200 From: Phil Blundell To: Patches and discussions about the oe-core layer Date: Tue, 05 Jul 2011 11:36:25 +0100 In-Reply-To: <0C757E680E33864AB113392C7E83F910BE5198@GSX300A.mxchg.m.corp> References: <1865303E0DED764181A9D882DEF65FB6A167F0C70B@shsmsx502.ccr.corp.intel.com> <4E095480.3070001@windriver.com><1309266943.20015.290.camel@rex> <4E09E8B7.1070901@windriver.com> <0C757E680E33864AB113392C7E83F910BE518E@GSX300A.mxchg.m.corp> <1865303E0DED764181A9D882DEF65FB6A200B1C937@shsmsx502.ccr.corp.intel.com> <0C757E680E33864AB113392C7E83F910BE5196@GSX300A.mxchg.m.corp> <1309861363.19115.7.camel@phil-desktop> <0C757E680E33864AB113392C7E83F910BE5198@GSX300A.mxchg.m.corp> Organization: Phil Blundell Consulting Ltd X-Mailer: Evolution 3.0.2- Message-ID: <1309862186.19115.10.camel@phil-desktop> Mime-Version: 1.0 Subject: Re: [Draft design][RFC] Running postinst at rootfs generation time X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2011 10:40:14 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2011-07-05 at 12:30 +0200, Hauser, Wolfgang (external) wrote: > >Nowadays you can set IMAGE_FEATURES = "read-only-rootfs", which will > >result in a fatal error if any packages are still unconfigured after > >rootfs construction is finished. > > This helps to identify the packages to be modified, but it may be better to enhance the packages to be "read-only save". Yes, indeed. The IMAGE_FEATURES thing doesn't magically make the postinsts work in offline mode, it just avoids any unconfigured packages leaking into the generated image. Fundamentally the recipes do need fixing to either eliminate the postinsts altogether or, if that's not feasible, make them work in offline root mode. > May be a official guide line may help here. What sort of guidance are you looking for? If there are particular recipes with issues that you don't know how to solve, post them here and we can discuss them. p.