Bug 378651
| Summary: | mkinitrd puts firmware blobs in /lib/firmware instead of /firmware | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrick C. F. Ernzer <pcfe> |
| Component: | mkinitrd | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8 | CC: | jonstanley, jp, prigault, snitzer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 9 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-07-14 20:30:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 380641 | ||
|
Description
Patrick C. F. Ernzer
2007-11-12 19:56:44 UTC
The directory is actually not the problem; the initrd created by mkinitrd is supposed to mimic the installed system here. The problem is a simple code bug :/ Test packages are at http://pjones.fedorapeople.org/mkinitrd/ . in response to Comment #2 yupp, works like a charm with the packages from that repo (did a local mirror here as my machine cannot access ouside) and of course the fix from Bug 377921 to be able to install at all. Installation was done via kickstart and I added a repo line for my mirror Peter, any chance you could elaborate on the "simple code bug" you referenced in comment#2? Here is what Peter changed in the code as far as I can see. It worked well for
me, even when back-porting to FC7. Can this be included in the regular updates
please?
*** hotplug.c.uevent-done 2007-09-27 19:26:43.000000000 +0200
--- hotplug.c 2008-01-03 12:25:27.000000000 +0100
***************
*** 440,446 ****
char *token;
char *action = NULL, *subsystem = NULL, *seqnum = NULL;
long cur;
! int done;
action = envz_get(ue->envz, ue->envz_len, "ACTION");
subsystem = envz_get(ue->envz, ue->envz_len, "SUBSYSTEM");
--- 440,446 ----
char *token;
char *action = NULL, *subsystem = NULL, *seqnum = NULL;
long cur;
! int done = 0;
action = envz_get(ue->envz, ue->envz_len, "ACTION");
subsystem = envz_get(ue->envz, ue->envz_len, "SUBSYSTEM");
*** Bug 329511 has been marked as a duplicate of this bug. *** Given this is also on issue on RHEL5U1, should I open a new bug relative to it? comment#5's suggested patch to nash/hotplug.c resolves the problem on RHEL5U1's mkinitrd (5.1.19.6-19). I'd really like to see this resolved in >= RHEL5U2... Yes, please open a new bug/support case so that the proper RHEL folks can take a look at this. |