diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-01-03 17:53:49 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe.macdonald@siemens.com> | 2025-03-07 14:33:23 -0500 |
| commit | 1e40ada23b95eb5019d99614d8bc9977e404b03a (patch) | |
| tree | f0541174c8da07e4e96c448c9d617a6973b2703f | |
| parent | d000ede95d6daa9792e06ce922135736b8bc1751 (diff) | |
| download | meta-selinux-1e40ada23b95eb5019d99614d8bc9977e404b03a.tar.gz | |
setools: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build
paths.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
| -rw-r--r-- | recipes-security/setools/setools_4.5.1.bb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/recipes-security/setools/setools_4.5.1.bb b/recipes-security/setools/setools_4.5.1.bb index 9b6745e..723eeb0 100644 --- a/recipes-security/setools/setools_4.5.1.bb +++ b/recipes-security/setools/setools_4.5.1.bb | |||
| @@ -16,17 +16,13 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \ | |||
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 18 | 18 | ||
| 19 | DEPENDS = "python3-cython-native libsepol libselinux" | 19 | DEPENDS = "libsepol libselinux" |
| 20 | 20 | ||
| 21 | RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" | 21 | RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" |
| 22 | 22 | ||
| 23 | RPROVIDES:${PN} = "${PN}-console" | 23 | RPROVIDES:${PN} = "${PN}-console" |
| 24 | 24 | ||
| 25 | inherit python_setuptools_build_meta | 25 | inherit python_setuptools_build_meta cython |
| 26 | |||
| 27 | do_install:prepend() { | ||
| 28 | sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c | ||
| 29 | } | ||
| 30 | 26 | ||
| 31 | do_install:append() { | 27 | do_install:append() { |
| 32 | # Need PyQt6 support, disable gui tools | 28 | # Need PyQt6 support, disable gui tools |
