]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Sep 2020 11:08:39 +0000 (12:08 +0100)
commit24b5ccc76d5660fac38ac5346666380a0ecce359
tree8840f29ce7b66bb142984ad8d1e27b24a0a909ef
parente545ae3a7961111ceb4e2a468e9ec53cebfed721
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>
meta/classes/insane.bbclass