From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RJTOJ-0000qu-UX for ptxdist@pengutronix.de; Thu, 27 Oct 2011 19:05:19 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1RJTOJ-0002cb-Te for ptxdist@pengutronix.de; Thu, 27 Oct 2011 19:05:19 +0200 Date: Thu, 27 Oct 2011 19:05:19 +0200 From: Michael Olbrich Message-ID: <20111027170519.GJ30634@pengutronix.de> References: <1319722951-13733-1-git-send-email-jon@ringle.org> <20111027151206.GG30634@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] [PATCH] ptxd_lib_dgen.awk: $(STATEDIR)/*.targetinstall.post depends on $(PKGDIR)/Packages Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Oct 27, 2011 at 12:02:21PM -0400, Jon Ringle wrote: > On Thu, Oct 27, 2011 at 11:12 AM, Michael Olbrich > wrote: > > Please elaborate why this is necessary. > > Doing this makes it possible for a developer to point opkg.conf on the > target to a URL that resolves to platform/packages/. A developer that > is working on a single package can then just do ptxdist targetinstall > foo and on the target: > opkg update > opkg remove foo > opkg install foo > > Doing ptxdist images and having the ipkg-repository updated takes too > long when all one is interested is the update of a single .ipkg file I see what you mean. However I'm pretty sure, that with this patch if you run "ptxdist images" in a clean BSP you'll get a broken Packages file because it's created too early. It running "ptxdist targetinstall foo && ptxdist make ipkg-index" not good enough? 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