mirror of
https://git.yoctoproject.org/meta-security
synced 2026-10-15 05:17:05 +00:00
apparmor: drop lsb RDEPENDS
remove lsb functions from init script Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
1 parent
225c3bc7d0
commit
6c42c018ff
2 files changed
+1
-2
No files matched your search
@@ -160,7 +160,7 @@ PACKAGES += "mod-${PN}"
|
||||
FILES_${PN} += "/lib/apparmor/ ${sysconfdir}/apparmor ${PYTHON_SITEPACKAGES_DIR}"
|
||||
FILES_mod-${PN} = "${libdir}/apache2/modules/*"
|
||||
|
||||
RDEPENDS_${PN} += "bash lsb"
|
||||
RDEPENDS_${PN} += "bash"
|
||||
RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}"
|
||||
RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}"
|
||||
RDEPENDS_${PN}-ptest += "perl coreutils dbus-lib bash"
|
||||
@@ -47,7 +47,6 @@ log_end_msg () {
|
||||
}
|
||||
|
||||
. /lib/apparmor/functions
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 {start|stop|restart|reload|force-reload|status|recache}"
|
||||
|
||||
Reference in new issue
Block a user