Skip to contentSkip to conversation

modules: base: include wc utility

PATCH In review Nicolai Stange 3 participants 3 messages Jun 24, 2015 – Jul 7, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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.

---
 modules.d/99base/module-setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
modules.d/99base/module-setup.sh +2 -1
index bbc68ba..5b89028 100755
@@ -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]

#3 lore raw
In reply to a message not in the archive
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.

---
 modules.d/99base/module-setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
modules.d/99base/module-setup.sh +0 -0
index bbc68ba..5b89028 100755

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 :)