Public bug reported:

Binary package hint: initramfs-tools

upgrading 9.04 to 9.10

initrd fails with "/scripts/init-top/brltty: 19: grep: not found"
see:
  http://www.mail-archive.com/linux-...@uni-koeln.de/msg02954.html
also countless forum discussions.

it turns out that /usr/sbin/mkinitramfs has the following hardcoded:
# BUSYBOXDIR="/usr/lib/initramfs-tools/bin/"
BUSYBOXDIR="/bin"
reversing this to
BUSYBOXDIR="/usr/lib/initramfs-tools/bin/"
# BUSYBOXDIR="/bin"
allows a working initrd to be made.
A better solution may be:
test -e /bin/busybox && BUSYBOXDIR=/bin
test -e /usr/lib/initramfs-tools/bin/busybox && 
BUSYBOXDIR=/usr/lib/initramfs-tools/bin
which favours the initramfs version

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: boot busybox initrd

-- 
mkinitramfs doesn't use busybox-initramfs and builds unuseable initrd
https://bugs.launchpad.net/bugs/573282
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to