1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.37/dispatch.py mezzanine_patched_anaconda-10.1.1.37/dispatch.py |
2 |
|
|
--- anaconda-10.1.1.37/dispatch.py 2006-04-06 05:53:43.058026520 +1000 |
3 |
|
|
+++ mezzanine_patched_anaconda-10.1.1.37/dispatch.py 2006-04-06 05:52:50.871144077 +1000 |
4 |
|
|
@@ -155,7 +155,7 @@ |
5 |
|
|
("writeksconfig", writeKSConfiguration, ("id", "instPath")), |
6 |
|
|
("setfilecon", setFileCons, ("instPath","id.partitions")), |
7 |
|
|
("copylogs", copyAnacondaLogs, ("instPath",)), |
8 |
|
|
- ("dopostaction", doPostAction, ("id", "instPath")), |
9 |
|
|
+ ("dopostaction", doPostAction, ("id", "instPath", "intf")), |
10 |
|
|
("methodcomplete", doMethodComplete, ("method",)), |
11 |
|
|
("complete", ()), |
12 |
|
|
] |
13 |
|
|
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.37/installclass.py mezzanine_patched_anaconda-10.1.1.37/installclass.py |
14 |
|
|
--- anaconda-10.1.1.37/installclass.py 2005-07-14 03:16:19.000000000 +1000 |
15 |
|
|
+++ mezzanine_patched_anaconda-10.1.1.37/installclass.py 2006-04-06 05:52:50.872143902 +1000 |
16 |
|
|
@@ -63,7 +63,7 @@ |
17 |
|
|
# we can use a different install data class |
18 |
|
|
installDataClass = InstallData |
19 |
|
|
|
20 |
|
|
- def postAction(self, rootPath, serial): |
21 |
|
|
+ def postAction(self, rootPath, serial, intf): |
22 |
|
|
pass |
23 |
|
|
|
24 |
|
|
def setBootloader(self, id, useLilo=0, location=None, linear=1, |
25 |
|
|
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.37/kickstart.py mezzanine_patched_anaconda-10.1.1.37/kickstart.py |
26 |
|
|
--- anaconda-10.1.1.37/kickstart.py 2005-07-22 03:30:21.000000000 +1000 |
27 |
|
|
+++ mezzanine_patched_anaconda-10.1.1.37/kickstart.py 2006-04-06 05:52:50.872143902 +1000 |
28 |
|
|
@@ -98,7 +98,7 @@ |
29 |
|
|
class KickstartBase(BaseInstallClass): |
30 |
|
|
name = "kickstart" |
31 |
|
|
|
32 |
|
|
- def postAction(self, rootPath, serial): |
33 |
|
|
+ def postAction(self, rootPath, serial, intf): |
34 |
|
|
log("Running kickstart %%post script(s)") |
35 |
|
|
for script in self.postScripts: |
36 |
|
|
script.run(rootPath, serial) |
37 |
|
|
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.37/packages.py mezzanine_patched_anaconda-10.1.1.37/packages.py |
38 |
|
|
--- anaconda-10.1.1.37/packages.py 2006-04-06 05:53:42.836065296 +1000 |
39 |
|
|
+++ mezzanine_patched_anaconda-10.1.1.37/packages.py 2006-04-06 05:53:15.307874568 +1000 |
40 |
slords |
1.2 |
@@ -55,8 +55,8 @@ |
41 |
slords |
1.1 |
sys.exit(0) |
42 |
|
|
return DISPATCH_FORWARD |
43 |
|
|
|
44 |
|
|
-def doPostAction(id, instPath): |
45 |
|
|
- id.instClass.postAction(instPath, flags.serial) |
46 |
|
|
+def doPostAction(id, instPath, intf): |
47 |
|
|
+ id.instClass.postAction(instPath, flags.serial, intf) |
48 |
|
|
|
49 |
|
|
def firstbootConfiguration(id, instPath): |
50 |
|
|
if id.firstboot == FIRSTBOOT_RECONFIG: |