Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com>
---
 rules/util-linux-ng.in   | 10 ++++++++++
 rules/util-linux-ng.make |  3 +++
 2 files changed, 13 insertions(+)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index ad2ad5a2d..c6b2e8989 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -371,6 +371,16 @@ config UTIL_LINUX_NG_BLKID
 comment "BusyBox' blkid is selected!"
        depends on BUSYBOX_BLKID
 
+config UTIL_LINUX_NG_LSBLK
+       bool
+       select UTIL_LINUX_NG_LIBBLKID
+       select UTIL_LINUX_NG_LIBMOUNT
+       select UTIL_LINUX_NG_LIBSMARTCOLS
+       prompt "lsblk"
+       help
+         The lsblk command lists information about all available or the
+         specified block devices.
+
 config UTIL_LINUX_NG_FINDFS
        bool
        select UTIL_LINUX_NG_LIBBLKID
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 878df38c0..32c428731 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -285,6 +285,9 @@ endif
 ifdef PTXCONF_UTIL_LINUX_NG_BLKID
        @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/blkid)
 endif
+ifdef PTXCONF_UTIL_LINUX_NG_LSBLK
+       @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/lsblk)
+endif
 ifdef PTXCONF_UTIL_LINUX_NG_UUIDD
        @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/uuidd)
 endif
-- 
2.14.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to