mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 20:02:24 +02:00
update-alternatives: We now use u-a in nativesdk so make sure the dependency is present
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. (From OE-Core rev: 7e0adf676da45e49287b7ce6478a6dbfd8fa117f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user