diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:24:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:41 +0100 |
commit | 04c412803b7faf7ac87621be2c03b1f17a1f6c8c (patch) | |
tree | b0298a6a2b5a9136a3110d22c7f7704ab60479f5 /meta/recipes-extended/procps/procps.inc | |
parent | b69a6cea664e51b1a127767ecaea94b90b548d75 (diff) | |
download | openembedded-core-04c412803b7faf7ac87621be2c03b1f17a1f6c8c.tar.gz openembedded-core-04c412803b7faf7ac87621be2c03b1f17a1f6c8c.tar.bz2 openembedded-core-04c412803b7faf7ac87621be2c03b1f17a1f6c8c.zip |
procps: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/procps/procps.inc')
-rw-r--r-- | meta/recipes-extended/procps/procps.inc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/procps/procps.inc b/meta/recipes-extended/procps/procps.inc index 80080fc488..6ee4a04f81 100644 --- a/meta/recipes-extended/procps/procps.inc +++ b/meta/recipes-extended/procps/procps.inc @@ -13,8 +13,13 @@ DEPENDS = "ncurses" SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \ file://install.patch" -inherit autotools +inherit autotools update-alternatives FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" FILES_SOLIBSDEV = "" -FILES_${PN} += "" + +ALTERNATIVE_${PN} = "top uptime free pkill pmap kill sysctl ps pgrep pwdx watch" +ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill" +ALTERNATIVE_LINK_NAME[sysctl] = "${base_sbindir}/sysctl" +ALTERNATIVE_LINK_NAME[ps] = "${base_bindir}/ps" +ALTERNATIVE_PRIORITY = "110" |