RHEL5 - copy files from DVD during %post

Darren Cole dcole at keysoftsys.com
Sat Jan 24 01:17:50 UTC 2009


>> 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", ),
      ]
  




More information about the Kickstart-list mailing list