From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Fri, 4 Sep 2020 19:23:23 +0200 From: Michael Olbrich Message-ID: <20200904172323.GC6156@pengutronix.de> References: <3329277.zs2k1r9rDW@atenea> <20200828095015.GA3230@pengutronix.de> <3336879.tZyYaj4Z8c@atenea> <20200828132610.GW27826@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200828132610.GW27826@pengutronix.de> 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, Ariel Garcia On Fri, Aug 28, 2020 at 03:26:10PM +0200, Michael Olbrich wrote: > On Fri, Aug 28, 2020 at 02:56:23PM +0200, Ariel Garcia wrote: > > Hi, > > > > thanks a lot for your answer. > > > > It works now, i only had to fiddle a bit to find the right path variables... > > genimage does not seem to export any for exec-pre commands (in particular TMPPATH > > used internally) so had to resort to a not-so-nice shell glob > > ${PTXDIST_TEMPDIR}/genimage.*/root/usr/share/opkg > > Right, $IMAGEMOUNTPATH should be defined, but it's not. That's a bug in > genimage. I need to fix that. You can work around this by explicitly > setting 'mountpoint = "/"'. Then $IMAGEMOUNTPATH is defined. FYI: https://github.com/pengutronix/genimage/pull/119 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