[Thincrust-devel] bug in appliance-creator
Marek Goldmann
mgoldman at redhat.com
Wed Dec 30 21:35:40 UTC 2009
Hi,
I found a bug in appliance-creator, exactly in appcreate/appliance.py, line 234:
230 for v in versions:
231 grub += "title %s (%s)\n" % (self.name, v)
232 grub += " root (hd0,%d)\n" % bootdevnum
233 grub += " kernel %s/vmlinuz-%s ro root=%s %s\n" % (prefix, v, rootdev, options)
234 grub += " initrd %s/initrd-%s.img\n" % (prefix, v)
235
236 logging.debug("Writing grub config %s/boot/grub/grub.conf" % self._instroot)
237 cfg = open(self._instroot + "/boot/grub/grub.conf", "w")
238 cfg.write(grub)
239 cfg.close()
Fedora 12 is using dracut to generate initrd files and initrd is a wrong name for those files from now. The new name is initramfs, so line 234 should look like:
234 grub += " initrd %s/initramfs-%s.img\n" % (prefix, v)
Reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=551469
Bleh, I searched this for two days – there was no error, only blank screen and freeze.
--Marek
More information about the Thincrust-devel
mailing list