summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/procps/procps_3.3.16.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.3.16.bb b/meta/recipes-extended/procps/procps_3.3.16.bb
index 2810ebd285..ef3ac86e97 100644
--- a/meta/recipes-extended/procps/procps_3.3.16.bb
+++ b/meta/recipes-extended/procps/procps_3.3.16.bb
@@ -74,3 +74,28 @@ python __anonymous() {
74# 'ps' isn't suitable for use as a security tool so whitelist this CVE. 74# 'ps' isn't suitable for use as a security tool so whitelist this CVE.
75# https://bugzilla.redhat.com/show_bug.cgi?id=1575473#c3 75# https://bugzilla.redhat.com/show_bug.cgi?id=1575473#c3
76CVE_CHECK_WHITELIST += "CVE-2018-1121" 76CVE_CHECK_WHITELIST += "CVE-2018-1121"
77
78PROCPS_PACKAGES = "${PN}-lib \
79 ${PN}-ps \
80 ${PN}-sysctl"
81
82PACKAGE_BEFORE_PN = "${PROCPS_PACKAGES}"
83RDEPENDS_${PN} += "${PROCPS_PACKAGES}"
84
85RDEPENDS_${PN}-ps += "${PN}-lib"
86RDEPENDS_${PN}-sysctl += "${PN}-lib"
87
88FILES_${PN}-lib = "${libdir}"
89FILES_${PN}-ps = "${base_bindir}/ps.${BPN}"
90FILES_${PN}-sysctl = "${base_sbindir}/sysctl.${BPN} ${sysconfdir}/sysctl.conf ${sysconfdir}/sysctl.d"
91
92ALTERNATIVE_${PN}_remove = "ps"
93ALTERNATIVE_${PN}_remove = "sysctl"
94
95ALTERNATIVE_${PN}-ps = "ps"
96ALTERNATIVE_TARGET[ps] = "${base_bindir}/ps"
97ALTERNATIVE_LINK_NAME[ps] = "${base_bindir}/ps"
98
99ALTERNATIVE_${PN}-sysctl = "sysctl"
100ALTERNATIVE_TARGET[sysctl] = "${base_sbindir}/sysctl"
101ALTERNATIVE_LINK_NAME[sysctl] = "${base_sbindir}/sysctl" \ No newline at end of file