Skip to contentSkip to conversation

package/procps-ng: fix typos in config option and help text

PATCH Superseded Scott Fan 2 participants 7 messages Oct 29, 2024

lore
Share & tools
lore

Scott Fan

author
#0 lore raw

PATCH 1/1 package/procps-ng: fix typos in config option and help text

---
 package/procps-ng/Config.in    | 4 ++--
 package/procps-ng/procps-ng.mk | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/procps-ng/Config.in +2 -2
index 4afd01699b..7af0e97fb4 100644
@@ -11,10 +11,10 @@ config BR2_PACKAGE_PROCPS_NG
 
 if BR2_PACKAGE_PROCPS_NG
 
-config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+config BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP
 	bool "Use original top layout"
 	help
 	  Disable modern top layout, return to original top with
-	  detail cpu usage.
+	  detailed cpu usage.
 
 endif
package/procps-ng/procps-ng.mk +1 -1
index 4ac82cf6f9..c5185c2c8a 100644
@@ -56,7 +56,7 @@ else
 PROCPS_NG_CONF_OPTS += --enable-w
 endif
 
-ifeq ($(BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP),y)
+ifeq ($(BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP),y)
 PROCPS_NG_CONF_OPTS += --disable-modern-top
 endif
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Scott,

package/procps-ng/Config.in config BR2_PACKAGE_PROCPS_NG · line 14

Quoted 4 lines · On Tue, 29 Oct 2024 12:48:38 +0800 Scott Fan <[email protected]> wrote:

if BR2_PACKAGE_PROCPS_NG

package/procps-ng/Config.in +1 -1
-config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+config BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP

Thanks for spotting this. However, since this option has made its way to Buildroot 2024.08, I think we have no choice but to add an entry in the Config.in.legacy file for the old option name.

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author
#2 lore raw

Hi Thomas,

Quoted 6 lines · Thomas Petazzoni

Hello Scott,

On Tue, 29 Oct 2024 12:48:38 +0800
Scott Fan <[email protected]> wrote:

Quoted 8 lines

package/procps-ng/Config.in config BR2_PACKAGE_PROCPS_NG · line 14

Quoted 4 lines

if BR2_PACKAGE_PROCPS_NG

package/procps-ng/Config.in +1 -1
-config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+config BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP

Thanks for spotting this. However, since this option has made its way to Buildroot 2024.08, I think we have no choice but to add an entry in the Config.in.legacy file for the old option name.

I found, no defconfig file has used this option so far.

Scott Fan
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 4 lines · On Tue, 29 Oct 2024 21:34:18 +0800 Scott Fan <[email protected]> wrote:
Quoted 3 lines

Thanks for spotting this. However, since this option has made its way to Buildroot 2024.08, I think we have no choice but to add an entry in the Config.in.legacy file for the old option name.

I found, no defconfig file has used this option so far.

defconfigs in Buildroot upstream are not the problem, as anyway our upstream defconfigs are minimal so none of them will ever enable procps-ng.

We are concerned about all the custom configurations/defconfigs that people have created for their own projects. This is why we have Config.in.legacy in the first place.

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author
#4 lore raw

PATCH v2 1/1 package/procps-ng: fix typos in config option and help text

In reply to Scott Fan

The option has been renamed, so add an entry in the Config.in.legacy file for the old option name.

---
Changes v1 -> v2:
- add an entry in the Config.in.legacy file

---
 Config.in.legacy               | 6 ++++++
 package/procps-ng/Config.in    | 4 ++--
 package/procps-ng/procps-ng.mk | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)
Config.in.legacy +6 -0
index a041d4da42..a6cef174c7 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2024.11"
 
+config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+	bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed"
+	select BR2_LEGACY
+	help
+	  The option has been renamed to BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP.
+
 config BR2_PACKAGE_QEMU_TARGET_NIOS2
 	bool "qemu nios2 support has been removed"
 	select BR2_LEGACY
package/procps-ng/Config.in +2 -2
index 4afd01699b..7af0e97fb4 100644
@@ -11,10 +11,10 @@ config BR2_PACKAGE_PROCPS_NG
 
 if BR2_PACKAGE_PROCPS_NG
 
-config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+config BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP
 	bool "Use original top layout"
 	help
 	  Disable modern top layout, return to original top with
-	  detail cpu usage.
+	  detailed cpu usage.
 
 endif
package/procps-ng/procps-ng.mk +1 -1
index 4ac82cf6f9..c5185c2c8a 100644
@@ -56,7 +56,7 @@ else
 PROCPS_NG_CONF_OPTS += --enable-w
 endif
 
-ifeq ($(BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP),y)
+ifeq ($(BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP),y)
 PROCPS_NG_CONF_OPTS += --disable-modern-top
 endif
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author
#5 lore raw

PATCH v3 1/1 package/procps-ng: fix typos in config option and help text

The option has been renamed, so add an entry in the Config.in.legacy file for the old option name.

---
Changes v1 -> v2:
- add an entry in the Config.in.legacy file

Changes v2 -> v3:
- update the entry in the Config.in.legacy file

---
 Config.in.legacy               | 8 ++++++++
 package/procps-ng/Config.in    | 4 ++--
 package/procps-ng/procps-ng.mk | 2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)
Config.in.legacy +8 -0
index a041d4da42..30179add23 100644
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2024.11"
 
+config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+	bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP
+	help
+	  The option has been renamed to
+	  BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP.
+
 config BR2_PACKAGE_QEMU_TARGET_NIOS2
 	bool "qemu nios2 support has been removed"
 	select BR2_LEGACY
package/procps-ng/Config.in +2 -2
index 4afd01699b..7af0e97fb4 100644
@@ -11,10 +11,10 @@ config BR2_PACKAGE_PROCPS_NG
 
 if BR2_PACKAGE_PROCPS_NG
 
-config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
+config BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP
 	bool "Use original top layout"
 	help
 	  Disable modern top layout, return to original top with
-	  detail cpu usage.
+	  detailed cpu usage.
 
 endif
package/procps-ng/procps-ng.mk +1 -1
index 4ac82cf6f9..c5185c2c8a 100644
@@ -56,7 +56,7 @@ else
 PROCPS_NG_CONF_OPTS += --enable-w
 endif
 
-ifeq ($(BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP),y)
+ifeq ($(BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP),y)
 PROCPS_NG_CONF_OPTS += --disable-modern-top
 endif
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw
Quoted 8 lines · On Tue, 29 Oct 2024 22:11:24 +0800 Scott Fan <[email protected]> wrote:

The option has been renamed, so add an entry in the Config.in.legacy file for the old option name.

---
Changes v1 -> v2:
- add an entry in the Config.in.legacy file

Applied to master, 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