mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] util-linux: add option for building logger
@ 2026-04-13 13:00 Ladislav Michl
  2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2026-04-13 13:00 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/util-linux.in   | 10 ++++++++++
 rules/util-linux.make |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/rules/util-linux.in b/rules/util-linux.in
index 2ffb1c68d..fd07a25c5 100644
--- a/rules/util-linux.in
+++ b/rules/util-linux.in
@@ -226,6 +226,16 @@ config UTIL_LINUX_GETOPT
 comment "BusyBox' getopt is selected!"
 	depends on BUSYBOX_GETOPT
 
+config UTIL_LINUX_LOGGER
+	bool
+	prompt "logger"
+	depends on !BUSYBOX_LOGGER || ALLYES
+	help
+	  logger - enter messages into the system log
+
+comment "BusyBox' logger is selected!"
+	depends on BUSYBOX_LOGGER
+
 config UTIL_LINUX_LSBLK
 	bool
 	select UTIL_LINUX_LIBBLKID
diff --git a/rules/util-linux.make b/rules/util-linux.make
index 642061404..6a4cb9b55 100644
--- a/rules/util-linux.make
+++ b/rules/util-linux.make
@@ -102,7 +102,7 @@ UTIL_LINUX_CONF_OPT	:= \
 	-Dbuild-libsmartcols=$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBSMARTCOLS)d \
 	-Dbuild-libuuid=$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBUUID)d \
 	-Dbuild-line=$(call ptx/endis, PTXCONF_UTIL_LINUX_LINE)d \
-	-Dbuild-logger=disabled \
+	-Dbuild-logger=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOGGER)d \
 	-Dbuild-login=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOGIN)d \
 	-Dbuild-look=disabled \
 	-Dbuild-losetup=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOSETUP)d \
@@ -235,6 +235,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_BLKID)		+= sbin/blkid
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDFS)		+= sbin/findfs
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDMNT)		+= bin/findmnt
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_GETOPT)		+= bin/getopt
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LOGGER)		+= bin/logger
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSBLK)		+= bin/lsblk
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MCOOKIE)		+= bin/mcookie
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_UUIDD)		+= sbin/uuidd
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-15 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-13 13:00 [ptxdist] [PATCH] util-linux: add option for building logger Ladislav Michl
2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox