Sorry, missed the previous mail. I am not sure how to improve the hardcoding there, I don't like it either, but couldn't find an alternative. The thing is that we need the ip of the host as seen from the target to run testimage, but we don’t have the exact value for that one until qemu is up. The issue here is that we need to give this ip to the conf in the PACKAGE_FEED_URIS before building so we can get an image with this var to later use in testimage.
If someone has a better idea to get rid of this hardcoding, it would be great to know. -----Original Message----- From: Alexander Kanavin [mailto:alexander.kana...@linux.intel.com] Sent: Wednesday, March 15, 2017 5:19 AM To: Burton, Ross <ross.bur...@intel.com> Cc: OE-core <openembedded-core@lists.openembedded.org>; Ibarra Lopez, Humberto <humberto.ibarra.lo...@intel.com> Subject: Re: [OE-core] [PATCH 1/3] rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable On 03/15/2017 01:13 PM, Burton, Ross wrote: > > + cls.repo_server.port = 8080 > > > What if parallel selftests are running at once? Can this service be > started before the image is created, so the right port can be written > into the image? I don't know. I only followed what Humberto wrote in the original patch; we need to ask him. I'm also not entirely certain that hardcoding the ip address will always work, and did not get an answer to that. Another, more hackish option is to monkey patch the ephemeral port before running dnf into the repo config on the image. Alex -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core