From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id 012A96E710 for ; Fri, 17 Jan 2014 10:26:10 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s0HAQ60v011697 for ; Fri, 17 Jan 2014 10:26:06 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net 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 u8WhyvXEdsT5 for ; Fri, 17 Jan 2014 10:26:05 +0000 (GMT) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s0HAPOw5011680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 17 Jan 2014 10:25:26 GMT Message-ID: <1389954318.14987.103.camel@ted> From: Richard Purdie To: openembedded-core Date: Fri, 17 Jan 2014 10:25:18 +0000 X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Subject: [PATCH] update-alternatives: We now use u-a in nativesdk so make sure the dependency is present 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: Fri, 17 Jan 2014 10:26:11 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit When update-alternatives was part of opkg which got built in most nativesdk scenarios, this missing dependency wasn't an issue. We now need nativesdk-opkg-utils so we need to ensure the dependency is present in nativesdk cases. This avoids build failures with the recent u-a move to opkg-utils. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index f75f5b6..9f2c250 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass @@ -89,7 +89,7 @@ def ua_extend_depends(d): python __anonymous() { # Update Alternatives only works on target packages... - if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or \ + if bb.data.inherits_class('native', d) or \ bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or \ bb.data.inherits_class('cross-canadian', d): return