diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2024-05-23 11:20:54 +0200 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@siemens.com> | 2024-06-29 21:04:15 -0400 |
commit | e77a4e1c93f1cc5a5e37cdff1e292de9978a6ac1 (patch) | |
tree | 88781bae1fe0119e48dc0a9415c83ee670a490cc | |
parent | c1f20cb764742fa3b297869d64a500ee5092819c (diff) | |
download | meta-selinux-e77a4e1c93f1cc5a5e37cdff1e292de9978a6ac1.tar.gz |
selinux-python: make GPLv3 dependency optional
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
-rw-r--r-- | recipes-security/selinux/selinux-python_3.7.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-security/selinux/selinux-python_3.7.bb b/recipes-security/selinux/selinux-python_3.7.bb index 79125d0..faf5d28 100644 --- a/recipes-security/selinux/selinux-python_3.7.bb +++ b/recipes-security/selinux/selinux-python_3.7.bb | |||
@@ -53,8 +53,10 @@ RDEPENDS:${PN}-semanage = "\ | |||
53 | audit-python \ | 53 | audit-python \ |
54 | ${PN} \ | 54 | ${PN} \ |
55 | " | 55 | " |
56 | PACKAGECONFIG ??= "sepolicy-generate" | ||
57 | PACKAGECONFIG[sepolicy-generate] = ",,," | ||
56 | RDEPENDS:${PN}-sepolicy = "\ | 58 | RDEPENDS:${PN}-sepolicy = "\ |
57 | binutils \ | 59 | ${@bb.utils.contains('PACKAGECONFIG', 'sepolicy-generate', 'binutils', '', d)} \ |
58 | python3-core \ | 60 | python3-core \ |
59 | python3-codecs \ | 61 | python3-codecs \ |
60 | python3-distro \ | 62 | python3-distro \ |