]> code.ossystems Code Review - openembedded-core.git/commit
insane: check for missing update-alternatives inherit
authorAndrey Zhizhikin <andrey.z@gmail.com>
Mon, 14 Sep 2020 23:31:59 +0000 (23:31 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 28 Sep 2020 17:55:37 +0000 (07:55 -1000)
commit0845f6b09716d927c586be5be878d08fa53b31d1
treed113a2b1003e6779114de65009321479db0efc3c
parent02fa8637195447f38b4ce96086197490ce814987
insane: check for missing update-alternatives inherit

Add a package QA check to test if the recipe sets ALTERNATIVE variable
for any of its packages, and does not inherit update-alternatives class.
This causes the do_rootfs to fail since a proper alternative cannot be
created.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 24b5ccc76d5660fac38ac5346666380a0ecce359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/insane.bbclass