#3298 closed task (fixed)
mkinitramfs has several bugs
Reported by: | Pierre Labastie | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The recently added mkinitramfs seems to be somewhat unadapted to current LFS/BLFS. For example, it supposes /bin/sh is an executable, and by using `type -p', supposes there are no aliases. But at least `ls' may be one. Also, udevd is now in /lib/udev and not in /sbin.
So here is a patch which tries to remedy some of the defects. Well, the patch is not enough: it makes the initrd, but I have not be able to reboot. Anyway, hope it makes a base.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | mkinitramfs-udevd.patch added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
As discussed on blfs-dev, type -p will work from the script, but not from a paste to an interactive shell if an alias exists. Since the script is not designed to be pasted, I'll leave that structure.
Fixes were made to handle the case when udevd is is in /lib/udev.
The copy of /bin/sh will be handled properly whatever the symlink.
Any firmware files are now copied.
Closing, but please reopen if there are still issues.
Lets discuss on blfs-dev.