diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.3.16.bb | 25 |
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 |
76 | CVE_CHECK_WHITELIST += "CVE-2018-1121" | 76 | CVE_CHECK_WHITELIST += "CVE-2018-1121" |
77 | |||
78 | PROCPS_PACKAGES = "${PN}-lib \ | ||
79 | ${PN}-ps \ | ||
80 | ${PN}-sysctl" | ||
81 | |||
82 | PACKAGE_BEFORE_PN = "${PROCPS_PACKAGES}" | ||
83 | RDEPENDS_${PN} += "${PROCPS_PACKAGES}" | ||
84 | |||
85 | RDEPENDS_${PN}-ps += "${PN}-lib" | ||
86 | RDEPENDS_${PN}-sysctl += "${PN}-lib" | ||
87 | |||
88 | FILES_${PN}-lib = "${libdir}" | ||
89 | FILES_${PN}-ps = "${base_bindir}/ps.${BPN}" | ||
90 | FILES_${PN}-sysctl = "${base_sbindir}/sysctl.${BPN} ${sysconfdir}/sysctl.conf ${sysconfdir}/sysctl.d" | ||
91 | |||
92 | ALTERNATIVE_${PN}_remove = "ps" | ||
93 | ALTERNATIVE_${PN}_remove = "sysctl" | ||
94 | |||
95 | ALTERNATIVE_${PN}-ps = "ps" | ||
96 | ALTERNATIVE_TARGET[ps] = "${base_bindir}/ps" | ||
97 | ALTERNATIVE_LINK_NAME[ps] = "${base_bindir}/ps" | ||
98 | |||
99 | ALTERNATIVE_${PN}-sysctl = "sysctl" | ||
100 | ALTERNATIVE_TARGET[sysctl] = "${base_sbindir}/sysctl" | ||
101 | ALTERNATIVE_LINK_NAME[sysctl] = "${base_sbindir}/sysctl" \ No newline at end of file | ||