modules: base: include wc utility
PATCH 1/1 modules: base: include wc utility
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 <[email protected]>
--- modules.d/99base/module-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
modules.d/99base/module-setup.sh +2 -1
@@ -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
Signature · 1 line
2.4.4
A message that is not in the archive (sent off-list or not yet received): [email protected]
Patchset imported to github.
Pull request:
<https://github.com/haraldh/dracut/compare/master...dracut-mailing-devs:87h9pxjfv7.fsf%40gmail.com>
Quoted 16 lines · Nicolai Stange
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 <[email protected]>--- modules.d/99base/module-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)modules.d/99base/module-setup.sh +0
-0
modules.d/99base/module-setup.sh install() { · line 23
Quoted 9 lines
modules.d/99base/module-setup.sh +2
-1@@ -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
fixed by reverting the lvm patch :)