From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 732D072F0A for ; Wed, 15 Mar 2017 16:08:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v2FG7nrm021232; Wed, 15 Mar 2017 16:08:25 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IssUAnRzLvrs; Wed, 15 Mar 2017 16:08:25 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v2FG8O50021330 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 15 Mar 2017 16:08:25 GMT Message-ID: <1489594104.13980.67.camel@linuxfoundation.org> From: Richard Purdie To: "Ibarra Lopez, Humberto" , Alexander Kanavin , "Burton, Ross" Date: Wed, 15 Mar 2017 16:08:24 +0000 In-Reply-To: References: <20170314172749.6643-1-alexander.kanavin@linux.intel.com> <9ca28013-06c6-c668-2e42-1d13a75d4331@linux.intel.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Cc: OE-core Subject: Re: [PATCH 1/3] rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 16:08:33 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Wed, 2017-03-15 at 15:38 +0000, Ibarra Lopez, Humberto wrote: > 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. We could run a sed command inside the image after it boots but before triggering the tests to put the correct IP/port number into the file? Not a perfect test but simple and probably good enough for this? Cheers, Richard