mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [REGRESSION] a73b00a breaks ptxdist nfsroot
@ 2019-01-07 17:35 Uwe Kleine-König
  2019-01-07 18:43 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2019-01-07 17:35 UTC (permalink / raw)
  To: Michael Olbrich; +Cc: ptxdist

Hello,

with a project using ptxdist-2018.11.0 I get the following:

	$ ptxdist nfsroot

	ptxdist: error: glib is not a package or not selected

	make: *** [ptxd_make_nfsd] Error 1

because ptx_packages_selected is empty.

When I revert

	a73b00a71955 ("ptxd_do_xpkg_map: validate package list")

it works fine. I guess world/image/env/impl must somehow be called
before nfsroot calls ptxd_do_xpkg_map, but that's way to deep into
ptxdist for me, so I let you work out the right fix. :-)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [REGRESSION] a73b00a breaks ptxdist nfsroot
  2019-01-07 17:35 [ptxdist] [REGRESSION] a73b00a breaks ptxdist nfsroot Uwe Kleine-König
@ 2019-01-07 18:43 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2019-01-07 18:43 UTC (permalink / raw)
  To: ptxdist

On Mon, Jan 07, 2019 at 06:35:01PM +0100, Uwe Kleine-König wrote:
> with a project using ptxdist-2018.11.0 I get the following:
> 
> 	$ ptxdist nfsroot
> 
> 	ptxdist: error: glib is not a package or not selected
> 
> 	make: *** [ptxd_make_nfsd] Error 1
> 
> because ptx_packages_selected is empty.
> 
> When I revert
> 
> 	a73b00a71955 ("ptxd_do_xpkg_map: validate package list")
> 
> it works fine. I guess world/image/env/impl must somehow be called
> before nfsroot calls ptxd_do_xpkg_map, but that's way to deep into
> ptxdist for me, so I let you work out the right fix. :-)

This should be fixed in ptxdist-2018.12.0 with
403d1f49c78b ("ptxd_make_image_common: set ptx_packages_selected for
image/env").

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-07 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 17:35 [ptxdist] [REGRESSION] a73b00a breaks ptxdist nfsroot Uwe Kleine-König
2019-01-07 18:43 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox