mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/procps-ng: add option to select 'top' layout
The new procps-ng uses modern top layout by default which doesn't provide detailed cpu usage info, so let's add an option for nostalgic users that allows to get the original layout back. Signed-off-by: Xiang Lin <myd.xia@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f9d6e6fb11
commit
069a933894
@@ -8,3 +8,13 @@ config BR2_PACKAGE_PROCPS_NG
|
||||
Provides things like kill, ps, uptime, free, top, etc...
|
||||
|
||||
http://sourceforge.net/projects/procps-ng/
|
||||
|
||||
if BR2_PACKAGE_PROCPS_NG
|
||||
|
||||
config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
|
||||
bool "Use original top layout"
|
||||
help
|
||||
Disable modern top layout, return to original top with
|
||||
detail cpu usage.
|
||||
|
||||
endif
|
||||
|
||||
@@ -52,6 +52,10 @@ else
|
||||
PROCPS_NG_CONF_OPTS += --enable-w
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP),y)
|
||||
PROCPS_NG_CONF_OPTS += --disable-modern-top
|
||||
endif
|
||||
|
||||
# Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl.
|
||||
define PROCPS_NG_INSTALL_INIT_OPENRC
|
||||
@:
|
||||
|
||||
Reference in New Issue
Block a user