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-requ...@pengutronix.de