Le 28/07/2010 17:51, Marc Herbert a écrit : > This minor patch seems to make the recently committed (and > tremendously useful) "edit-lived" compatible with a vanilla Fedora 13 > system (=livecd-tools release 31.fc12), and possibly earlier systems > as well. > > Not really sure what should be done with it.
... certainly not apply as it is since I forgot the slash in "/EFI"! Well, this is just one extra line anyway so no need to actually pick the patch. Sorry for the noise. > > diff --git a/tools/edit-livecd b/tools/edit-livecd > index 809b015..46642b3 100755 > --- a/tools/edit-livecd > +++ b/tools/edit-livecd > @@ -279,6 +279,10 @@ def parse_options(args): > return (args[0], options) > > def rebuild_iso_symlinks(isodir): > + > + # Compatibility with livecd-tools release 31 > + if not os.access(isodir + "EFI", os.F_OK): return > + > # remove duplicate files and rebuild symlinks to reduce iso size > efi_vmlinuz = "%s/EFI/boot/vmlinuz0" % isodir > isolinux_vmlinuz = "%s/isolinux/vmlinuz0" % isodir > -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
