[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RHEL5 - copy files from DVD during %post



Where did you put dispatch.skipStep("methodcomplete")?

Mine was just after dispatch.skipStep("network"), or more importantly: not
inside any of the "if" blocks in that function.

That was the *only* change you made to the stock stage2.img?

Here is patch I used, but it was against released RHEL5, not at 5.2 or anything like that. I unsquashed the stage2.img, patched, the resquashed a newer stage2.img.

diff -ru squashfs-root-orig/usr/lib/anaconda/dispatch.py squashfs-root/ usr/lib/anaconda/dispatch.py --- squashfs-root-orig/usr/lib/anaconda/dispatch.py 2006-12-18 10:49:01.000000000 -0800 +++ squashfs-root/usr/lib/anaconda/dispatch.py 2007-07-01 20:33:48.000000000 -0700
@@ -108,8 +108,8 @@
     ("writeregkey", writeRegKey, ),
     ("setfilecon", setFileCons, ),
     ("copylogs", copyAnacondaLogs, ),
-    ("methodcomplete", doMethodComplete, ),
     ("dopostaction", doPostAction, ),
+    ("methodcomplete", doMethodComplete, ),
     ("complete", ),
     ]

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]