Signed-off-by: Alexander Dahl <[email protected]>
---
 rules/util-linux-ng.in   | 7 +++++++
 rules/util-linux-ng.make | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index c6b2e89899..8e89370f68 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -428,4 +428,11 @@ config UTIL_LINUX_NG_MKFS
          The mkfs command is a generic wrapper for fs specific
           mkfs.* commands.
 
+config UTIL_LINUX_NG_LSCPU
+       bool
+       select UTIL_LINUX_NG_LIBSMARTCOLS
+       prompt "lscpu"
+       help
+         lscpu shows information about the CPU architecture
+
 endif
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 2464909c71..6efbc98416 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -306,6 +306,9 @@ endif
 ifdef PTXCONF_UTIL_LINUX_NG_MKFS
        @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/mkfs)
 endif
+ifdef PTXCONF_UTIL_LINUX_NG_LSCPU
+       @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/lscpu)
+endif
 
        @$(call install_finish, util-linux-ng)
 
-- 
2.11.0


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to