Hi All,

livecd-creator's InstallationTarget.install() seems to run
self.configureSystem(), then run self.configureNetwork(), possible
overriding some configuration files generated with %post.

Attached is a patch to prevent this from happening.

Thanks to Mads Kiilerich <killerix a gmail.com> for pointing this out in
 https://hosted.fedoraproject.org/projects/revisor/ticket/257

Kind regards,

Jeroen van Meeuwen
-kanarip
--- livecd/creator/livecd-creator	2007-08-01 14:11:16.000000000 +0200
+++ livecd/creator/livecd-creator~	2007-08-01 14:12:21.000000000 +0200
@@ -739,6 +739,7 @@ class InstallationTarget:
             f.write(buf)
             f.close()

+    def runPost(self)
         # and now, for arbitrary %post scripts
         for s in filter(lambda s: s.type == pykickstart.parser.KS_SCRIPT_POST,
                         self.ksparser.handler.scripts):
@@ -932,6 +933,7 @@ menu color hotkey 7 #ffffffff #ff000000
         except Exception, e: #FIXME: we should be a little bit more fine-grained
             raise InstallationError("Error configuring live image: %s" %(e,))
         self.configureNetwork()
+        self.runPost()
         self.relabelSystem()
         if not self.skip_prelink:
             self.prelinkSystem()
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to