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