]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/update-alternatives: Skip alternatives when disabled
authorJoshua Watt <jpewhacker@gmail.com>
Thu, 29 Nov 2018 14:57:20 +0000 (08:57 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Nov 2018 17:13:13 +0000 (17:13 +0000)
commitf3faa8b3e3ef2c069fdb8c8727ed368d53678d04
tree9a57a07348d022ca8ba5182dee47daea1cbab6e3
parentfb640faa7f6c45328cb628c3765980c15e778a77
classes/update-alternatives: Skip alternatives when disabled

Skips the update alternative steps for recipes that shouldn't have them
enabled.

Fixes errors like:

 nativesdk-bzip2-1.0.6-r5 do_package: bzip2: alternative target
 (/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2
 or
 /opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2.bzip2)
 does not exist, skipping...

When building mingw SDKs

[YOCTO #12962]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-alternatives.bbclass