[PATCH] modules: base: include wc utility

Nicolai Stange
2015-06-24T15:17:00Z

Commit cfa365a32d47 ("lvm: Don't activate LVs with activationskip set")
introduces a usage of the wc utility.

Make it available in the initramfs through the base module.

Signed-off-by: Nicolai Stange <nicstange-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
modules.d/99base/module-setup.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
index bbc68ba..5b89028 100755
--- a/modules.d/99base/module-setup.sh
+++ b/modules.d/99base/module-setup.sh
@@ -16,7 +16,8 @@ install() {
local _d

inst_multiple mount mknod mkdir sleep chroot chown \
- sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid
+ sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid \
+ wc
inst $(command -v modprobe) /sbin/modprobe

inst_multiple -o findmnt less kmod
--
2.4.4