Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 4D0AE6D77B for ; Thu, 28 Nov 2013 10:32:49 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 28 Nov 2013 02:32:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,790,1378882800"; d="scan'208";a="443622438" Received: from unknown (HELO helios.localnet) ([10.252.122.17]) by orsmga002.jf.intel.com with ESMTP; 28 Nov 2013 02:32:48 -0800 From: Paul Eggleton To: Koen Kooi , "Felipe F. Tonello" Date: Thu, 28 Nov 2013 10:32:46 +0000 Message-ID: <14902072.IG3b8o4YqW@helios> Organization: Intel Corporation User-Agent: KMail/4.10.5 (Linux/3.8.0-31-generic; KDE/4.10.5; i686; ; ) In-Reply-To: <52970B57.3050700@dominion.thruhere.net> References: <1385600219-18495-1-git-send-email-eu@felipetonello.com> <52970B57.3050700@dominion.thruhere.net> MIME-Version: 1.0 Cc: openembedded-devel@lists.openembedded.org Subject: Re: [PATCH] packagekit: Updated to 0.8.13 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 10:32:49 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Koen / Felipe, On Thursday 28 November 2013 10:22:31 Koen Kooi wrote: > Felipe F. Tonello schreef op 28-11-13 01:56: > > From: "Felipe F. Tonello" > > This recipe supports the backend for packagekit dynamically based on the > > IMAGE_PKGTYPE. > > NAK! IMAGE_FEATURES should *never* change non-image recipe params. This > breaks using feeds horribly. IMAGE_PKGTYPE is influenced by PACKAGE_CLASSES; so this is not about IMAGE_FEATURES, and correct me if I'm wrong but maintaining package feeds would generally preclude switching to an alternative package manager, right? Some options: 1) Apply the patch as-is. Changing the order/value of PACKAGE_CLASSES will mean this and anything that depends upon it will rebuild. 2) Install the appropriate backend via some code in the image recipe. Obviously this means you have to do this for every image recipe though. 3) Use non-dynamic PACKAGECONFIG. Of course this means you'll have to remember to change this manually if you change PACKAGE_CLASSES or it'll just be broken at runtime. Honestly, option 1 sounds like the best course to me here. This is rather a special case compared to other recipes. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre