[Fedora-livecd-list] "-generic" in initrd name confusing live.py?

Martin Dengler martin at martindengler.com
Wed Sep 9 19:16:45 UTC 2009


On Wed, Sep 09, 2009 at 08:06:42PM +0200, Mads Kiilerich wrote:
> On 09/09/2009 07:36 PM, Martin Dengler wrote:
>> Hi,
>>
>> I'm getting a puzzling problem when building a .ks file that worked
>> two days ago:
[...]
>> IOError: [Errno 2] No such file or directory:
>>    '/var/tmp/imgcreate-X4oN18/install_root/boot/initrd-2.6.31-0.204.rc9.fc12.i686.img'
[...]
> That seems to be caused changes made in rawhide because of  
> http://fedoraproject.org/wiki/Features/Dracut
>
> We will have to wait until the design and implementation are completed  
> and livecd-tools in F11 has been updated accordingly - if that is going  
> to happen.

Thanks for the explanation.

For now I have done:

# diff -uw /usr/lib/python2.6/site-packages/imgcreate/live.py{~,}
--- /usr/lib/python2.6/site-packages/imgcreate/live.py~ 2009-05-06
19:09:02.000000000 +0100
+++ /usr/lib/python2.6/site-packages/imgcreate/live.py  2009-09-09
20:15:01.000000000 +0100
@@ -358,7 +358,7 @@
         shutil.copyfile(bootdir + "/vmlinuz-" + version,
                         isodir + "/isolinux/vmlinuz" + index)

-        shutil.copyfile(bootdir + "/initrd-" + version + ".img",
+        shutil.copyfile(bootdir + "/initrd-generic-" + version +
".img",
                         isodir + "/isolinux/initrd" + index + ".img")

         is_xen = False

> /Mads

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20090909/a9e1699a/attachment.bin 


More information about the livecd mailing list