+++ This bug was initially created as a clone of Bug #584185 +++ Description of problem: device kickstart directive is ignored because livecd-creator generates /etc/sysconfig/mkinitrd Version-Release number of selected component (if applicable): livecd-tools-031-1.6.el6 --- Additional comment from apevec on 2010-04-20 18:16:47 EDT --- Created an attachment (id=407936) patch to generate dracut.conf instead of sysconfig/
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. ***
http://git.fedoraproject.org/git/?p=livecd;a=commit;h=5f42d465badfc2b172e0bb10a2c0d2a27a164d27
Accepted upstream is the better fix from bug 588622 *** This bug has been marked as a duplicate of bug 588622 ***