diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-22 10:00:42 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-22 10:00:42 -0400 |
commit | adba1eafe542852d3223483de069d70190d990f7 (patch) | |
tree | 5b14038049489326674511e1f5590c87a9e52fd2 | |
parent | cec0d5ce995dcb093611512e768acc5bf87d4df4 (diff) | |
download | meta-virtualization-adba1eafe542852d3223483de069d70190d990f7.tar.gz |
python3-udica: skip recipe if meta-selinux is not available
meta-selinux has always been a soft dependency of meta-virt, as
such, it isn't in the layer dependencies.
To avoid yocto compat errors, and keep the dependency soft, we
add a skiprecip to udica if meta-selinux is not present.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-devtools/python/python3-udica_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-udica_git.bb b/recipes-devtools/python/python3-udica_git.bb index 7f86374e..93f6bdc3 100644 --- a/recipes-devtools/python/python3-udica_git.bb +++ b/recipes-devtools/python/python3-udica_git.bb | |||
@@ -13,6 +13,8 @@ S = "${WORKDIR}/git" | |||
13 | SRC_URI[md5sum] = "9cc5156a2ff6458a8f52114b9bbc0d7e" | 13 | SRC_URI[md5sum] = "9cc5156a2ff6458a8f52114b9bbc0d7e" |
14 | SRC_URI[sha256sum] = "3e8bc47534e0ca9331d72c32f2881bb13b93ded0bcdeab3c833fb7cf61c0a9a5" | 14 | SRC_URI[sha256sum] = "3e8bc47534e0ca9331d72c32f2881bb13b93ded0bcdeab3c833fb7cf61c0a9a5" |
15 | 15 | ||
16 | SKIP_RECIPE[python3-udica] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'selinux', '', 'Depends on libselinux from meta-selinux which is not included', d)}" | ||
17 | |||
16 | RDEPENDS:${PN} += " \ | 18 | RDEPENDS:${PN} += " \ |
17 | selinux-python \ | 19 | selinux-python \ |
18 | " | 20 | " |