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

Mads Kiilerich mads at kiilerich.com
Wed Sep 9 18:06:42 UTC 2009


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:
>
> Traceback (most recent call last):
>    File "/usr/bin/livecd-creator", line 140, in<module>
>      sys.exit(main())
>    File "/usr/bin/livecd-creator", line 124, in main
>      creator.configure()
>    File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line  732, in configure
>      self._create_bootconfig()
>    File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 197,  in _create_bootconfig
>      self._configure_bootloader(self.__ensure_isodir())
>    File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 609,  in _configure_bootloader
>      self._configure_syslinux_bootloader(isodir)
>    File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 513,  in _configure_syslinux_bootloader
>      cfg += self.__get_image_stanzas(isodir)
>    File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 440,  in __get_image_stanzas
>      is_xen = self.__copy_kernel_and_initramfs(isodir, version, index)
>    File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 367,  in __copy_kernel_and_initramfs
>      isodir + "/isolinux/initrd" + index + ".img")
>    File "/usr/lib64/python2.6/shutil.py", line 52, in copyfile
>      fsrc = open(src, 'rb')
> 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'
>
> I added some code to live.py to show what was actually in the source
> and dest directories, and it seems that the initrd has grown a string
> "-generic" in its name that live.py doesn't expect:
>    

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.

/Mads




More information about the livecd mailing list