]> code.ossystems Code Review - openembedded-core.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>
Mon, 3 Dec 2018 12:19:43 +0000 (12:19 +0000)
commitd11576f569ee618a8e638eee3b1f17bf8a9d4264
treeadd93e4f0bc5eb99e583ef3daf8e7c5dbcae1ca6
parent2664926ff154aacfb274e3055e81ba41190fa403
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