procps-ng: option to original top layout
PATCH 1/1 procps-ng: option to original top layout
New procps-ng use modern top layout by default which without detail cpu usage info, give a option for nostalgic one to return to original.
Signed-off-by Xiang Lin <[email protected]>
--- package/procps-ng/Config.in | 10 ++++++++++ package/procps-ng/procps-ng.mk | 4 ++++ 2 files changed, 14 insertions(+)
package/procps-ng/Config.in +10 -0
@@ -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
package/procps-ng/procps-ng.mk +4 -0
@@ -54,6 +54,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 @:
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 9 lines · On Sun, 4 Aug 2024 11:12:32 +0800 Xiang Lin <[email protected]> wrote:
New procps-ng use modern top layout by default which without detail cpu usage info, give a option for nostalgic one to return to original.
Signed-off-by Xiang Lin <[email protected]>--- package/procps-ng/Config.in | 10 ++++++++++ package/procps-ng/procps-ng.mk | 4 ++++ 2 files changed, 14 insertions(+)
Applied to master with a slightly improved commit log. Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot