This requires a new pykickstart which is about to be built.  Same code
snippit has just been applied to pungi



-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
diff --git a/creator/livecd-creator b/creator/livecd-creator
index 7bf714d..0c6c743 100755
--- a/creator/livecd-creator
+++ b/creator/livecd-creator
@@ -866,6 +866,11 @@ class ImageCreator(object):
         subprocess.call(["/bin/bash"], preexec_fn=self.run_in_root)
 
     def install(self):
+        try:
+            self.ksparser.handler.repo.methodToRepo()
+        except:
+            pass
+
         for repo in self.ksparser.handler.repo.repoList:
             yr = self.ayum.addRepository(repo.name, repo.baseurl, repo.mirrorlist)
             if hasattr(repo, "includepkgs"):
diff --git a/livecd-tools.spec b/livecd-tools.spec
index 9bff72f..4073744 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -15,7 +15,7 @@ Requires: e2fsprogs
 Requires: yum >= 3.0.0
 Requires: mkisofs
 Requires: squashfs-tools
-Requires: pykickstart
+Requires: pykickstart >= 1.13
 Requires: dosfstools >= 2.11-8
 %ifarch %{ix86} x86_64
 Requires: syslinux

Attachment: signature.asc
Description: PGP signature

--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to