package/selinux-python: remove redundant dependencies
The selinux-python package has two sub-packages, audit2allow and
sepolgen. Both of these repeat the dependencies (and comment) of the
top-level selinux-python package. Remove those redundant dependencies
(and comments).
This redundancy was introduced by commit 9d6da7a26
. Originally, sepolgen
was a separate package and audit2allow was a sub-package of
policycoreutils, so both of them had these dependencies. When the two
options were moved into selinux-python, the dependencies stayed.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
fe93c760dd
commit
0fd7a2876a
@ -16,10 +16,6 @@ if BR2_PACKAGE_SELINUX_PYTHON
|
||||
|
||||
config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW
|
||||
bool "audit2allow"
|
||||
depends on BR2_USE_WCHAR # sepolgen
|
||||
depends on BR2_USE_MMU # sepolgen
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # sepolgen, checkpolicy
|
||||
depends on !BR2_STATIC_LIBS # sepolgen
|
||||
select BR2_PACKAGE_CHECKPOLICY
|
||||
select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
|
||||
select BR2_PACKAGE_SEMODULE_UTILS
|
||||
@ -32,27 +28,13 @@ config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW
|
||||
audit2why - translates SELinux audit messages into a
|
||||
description of why the access was denied (audit2allow -w)
|
||||
|
||||
comment "audit2allow needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
|
||||
bool "sepolgen"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_SEMODULE_UTILS
|
||||
help
|
||||
This package contains a Python module that allows you to
|
||||
generate an initial SELinux policy module template.
|
||||
|
||||
comment "sepolgen needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
|
||||
comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library"
|
||||
|
Loading…
Reference in New Issue
Block a user