From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBb1T-0003hb-P3 for ptxdist@pengutronix.de; Fri, 28 Aug 2020 11:50:15 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kBb1T-0005OC-GS for ptxdist@pengutronix.de; Fri, 28 Aug 2020 11:50:15 +0200 Date: Fri, 28 Aug 2020 11:50:15 +0200 From: Michael Olbrich Message-ID: <20200828095015.GA3230@pengutronix.de> References: <3329277.zs2k1r9rDW@atenea> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3329277.zs2k1r9rDW@atenea> Subject: Re: [ptxdist] Opkg status file in initrd List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Hi, On Mon, Aug 24, 2020 at 04:50:02PM +0200, Ariel Garcia wrote: > i'm having a hard time trying to understand why a /usr/share/opkg/status > file is landing in the root.cpio which itself is used for the initrd in a > kernel... (resp. which script/step/etc may i touch to change that) > > I am trying to make the build fully reproducible and the opkg/status file > contains the "Installation-Time". > > Any hint? I think the best solution would be to just remove /usr/share/opkg before the cpio is created. You don't need this anyways. If you use the default rule for root.cpio, then you can copy config/images/cpio.config into your BSP and add: exec-pre = "rm -r '${IMAGEMOUNTPATH}/usr/share/opkg'" I think. This is untested, so you should probably start with an 'echo' to see if the path is correct. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de