Signed-off-by: Ladislav Michl <[email protected]>
---
rules/util-linux-ng.in | 11 +++++++++++
rules/util-linux-ng.make | 3 +++
2 files changed, 14 insertions(+)
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index e0ddf7550..1e59c0787 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -224,6 +224,17 @@ config UTIL_LINUX_NG_UMOUNT
comment "BusyBox' umount is selected!"
depends on BUSYBOX_UMOUNT
+config UTIL_LINUX_NG_FLOCK
+ bool
+ prompt "flock"
+ depends on !BUSYBOX_FLOCK || ALLYES
+ help
+ The flock utility manages flock(2) locks from within
+ shell scripts or from the command line.
+
+comment "BusyBox' flock is selected!"
+ depends on BUSYBOX_FLOCK
+
config UTIL_LINUX_NG_FSCK
bool
prompt "fsck"
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index e3d6fd15f..81fd9c66d 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -240,6 +240,9 @@ endif
ifdef PTXCONF_UTIL_LINUX_NG_UMOUNT
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/umount)
endif
+ifdef PTXCONF_UTIL_LINUX_NG_FLOCK
+ @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/flock)
+endif
ifdef PTXCONF_UTIL_LINUX_NG_FSCK
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/fsck)
endif
--
2.25.0
_______________________________________________
ptxdist mailing list
[email protected]