Bug#512413: Missing program (wc) in initramfs hook for live-initramfs
The following error is displayed during a debug live boot.
/init: line 191: wc: not found
In order to solve the problem I added the following line in initramfs
hook for live-initramfs (hooks/live).
copy_exec /usr/bin/wc /bin
Note: wc is used by scripts/init (in the initramfs) to count lines and
-- Package-specific info:
I discover the error on a live-initramfs installed in ubuntu (while
trying to replace casper by live-initramfs), but as the same program (wc)
is missing on the version 1.154.5-1 2009-01-12 just downloaded from the
git repository I think it worths to be reported here as well.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages live-initramfs depends on:
ii busybox 1:1.1.3-4 Tiny utilities for small and embed
ii file 4.17-5etch3 Determines file type using "magic"
ii initramfs-tools 0.85i tools for generating an initramfs
ii sudo 1.6.8p12-4 Provide limited super user privile
ii udev 0.105-4 /dev/ and hotplug management daemo
ii user-setup 1.11etch1 Set up initial user and password
Versions of packages live-initramfs recommends:
ii eject 2.1.4-3 ejects CDs and operates CD-Changer
pn uuid-runtime <none> (no description available)
ii wget 1.10.2-2 retrieves files from the web
-- no debconf information