summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2017-09-01 18:39:29 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-09-05 08:08:12 +0200
commit0c1b2e59809ce1d0a65dd9607d0205650fc87153 (patch)
treecc1b3e48d696fe72cf51be41f1aedc7b5f8de5b1 /rules
parentb00b28040fd2f9514ad5b61d112fd7ac29dbd450 (diff)
downloadptxdist-0c1b2e59809ce1d0a65dd9607d0205650fc87153.tar.gz
ptxdist-0c1b2e59809ce1d0a65dd9607d0205650fc87153.tar.xz
util-linux-ng: add fsfreeze
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/util-linux-ng.in10
-rw-r--r--rules/util-linux-ng.make3
2 files changed, 13 insertions, 0 deletions
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index ae8c1ef71..ad2ad5a2d 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -216,6 +216,16 @@ config UTIL_LINUX_NG_FSCK
comment "BusyBox' fsck is selected!"
depends on BUSYBOX_FSCK
+config UTIL_LINUX_NG_FSFREEZE
+ bool
+ prompt "fsfreeze"
+ depends on !BUSYBOX_FSFREEZE || ALLYES
+ help
+ fsfreeze suspends or resumes access to a filesystem.
+
+comment "BusyBox' fsfreeze is selected!"
+ depends on BUSYBOX_FSFREEZE
+
config UTIL_LINUX_NG_FSTRIM
bool
prompt "fstrim"
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 99c4da88c..1d528fa4c 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -237,6 +237,9 @@ endif
ifdef PTXCONF_UTIL_LINUX_NG_FSCK
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/fsck)
endif
+ifdef PTXCONF_UTIL_LINUX_NG_FSFREEZE
+ @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/fsfreeze)
+endif
ifdef PTXCONF_UTIL_LINUX_NG_FSTRIM
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/fstrim)
endif