meta-selinux/recipes-security
Alejandro Enedino Hernandez Samaniego 9b392cb0fd policycoreutils: fix packaging for sestatus binary
sestatus is provided as ${base_sbindir}/sestatus which is currently packaged into
PN-sestatus, however, this is only a symlink to the binary located in
${bindir}/sestatus.

This causes that when runtime dependencies are calculated, bitbake properly detects
a dependency from policycoreutils-sestatus to the main policycoreutils package.

Hence the policycoreutils-sestatus package has no usability by itself, this has
several implications, but one of them means that it recursively pulls all
runtime dependencies, making policycoreutils-sestatus require everything that the
main policycoreutils package RDEPENDS on, including python3.

By correctly splitting these packages, an image that RDEPENDS only on
policycoreutils-sestatus decreases its size by about ~13MB.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
2024-07-24 10:50:23 -04:00
..
images core-image-selinux.bb: remove trailing whitespace 2019-04-14 17:07:16 -04:00
packagegroups packagegroup-selinux-minimal: add missing runtime dependency selinux-autorelabel 2024-06-26 11:09:53 -04:00
refpolicy refpolicy: update to latest git rev 2024-07-24 09:21:52 -04:00
selinux policycoreutils: fix packaging for sestatus binary 2024-07-24 10:50:23 -04:00
selinux-scripts recipes: WORKDIR -> UNPACKDIR transition 2024-06-26 11:09:53 -04:00
setools setools: upgrade 4.4.4 -> 4.5.1 2024-06-29 20:48:59 -04:00