Bug 585170
| Summary: | livecd-creator ignores device directive | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alan Pevec <apevec> | ||||
| Component: | livecd-tools | Assignee: | David Huff <dhuff> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | dhuff, harald, lkundrak, mads, myllynen | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 584185 | Environment: | |||||
| Last Closed: | 2010-06-20 21:53:54 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: | |||||||
| Attachments: |
|
||||||
|
Description
Alan Pevec
2010-04-23 10:37:10 UTC
Created attachment 408568 [details]
patch to generate dracut.conf instead of /etc/sysconfig/mkinitrd
"add_drivers+=" does not work! (In reply to comment #2) > "add_drivers+=" does not work! it does, dracut.conf is simply sourced as a shell script + f.write('add_drivers+="squashfs ext4 ext3 ext2 vfat msdos "\n')
+ f.write('add_drivers+="sr_mod sd_mod ide-cd cdrom "\n')
+ f.write('add_drivers+="ehci_hcd uhci_hcd ohci_hcd "\n')
+ f.write('add_drivers+="usb_storage usbhid "\n')
+ f.write('add_drivers+="firewire-sbp2 firewire-ohci "\n')
+ f.write('add_drivers+="sbp2 ohci1394 ieee1394 "\n')
+ f.write('add_drivers+="mmc_block sdhci sdhci-pci "\n')
+ f.write('add_drivers+="pata_pcmcia "\n')
$ for i in squashfs ext4 ext3 ext2 vfat msdos sr_mod sd_mod ide-cd cdrom ehci_hcd uhci_hcd ohci_hcd usb_storage usbhid firewire-sbp2 firewire-ohci sbp2 ohci1394 ieee1394 mmc_block sdhci sdhci-pci pata_pcmcia; do lsinitrd /boot/initramfs-$(uname -r).img|grep -q ${i}.ko || { modinfo $i &>/dev/null && echo "$i is missing";};done
usb_storage is missing
sdhci is missing
sdhci-pci is missing
ok, I'll add those missing modules to the hardcoded list of modules.
(In reply to comment #3) > (In reply to comment #2) > > "add_drivers+=" does not work! > > it does, dracut.conf is simply sourced as a shell script doh! forgot, that we use bash in creation mode! cool! This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. *** Bug 588622 has been marked as a duplicate of this bug. *** Accepted upstream is the better fix from bug 588622 *** This bug has been marked as a duplicate of bug 588622 *** |