[meta-selinux] selinux-python: add RDEPENDES on python3-multiprocessing

Message ID 20220512043505.3831375-1-yi.zhao@windriver.com
State New
Headers show
Series [meta-selinux] selinux-python: add RDEPENDES on python3-multiprocessing | expand

Commit Message

Yi Zhao May 12, 2022, 4:35 a.m. UTC
Add RDEPENDS on python3-multiprocessing for selinux-python-sepolicy to
fix runtime error:

$ sepolicy
Traceback (most recent call last):
  File "/usr/bin/sepolicy", line 28, in <module>
    from multiprocessing import Pool
ModuleNotFoundError: No module named 'multiprocessing'

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 recipes-security/selinux/selinux-python_3.3.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-security/selinux/selinux-python_3.3.bb b/recipes-security/selinux/selinux-python_3.3.bb
index 1bf1f63..8f76718 100644
--- a/recipes-security/selinux/selinux-python_3.3.bb
+++ b/recipes-security/selinux/selinux-python_3.3.bb
@@ -57,6 +57,7 @@  RDEPENDS:${BPN}-sepolicy += "\
         python3-core \
         python3-codecs \
         python3-syslog \
+        python3-multiprocessing \
         ${BPN} \
 "
 RDEPENDS:${BPN}-sepolgen-ifgen += "\