Re: RHEL5 - copy files from DVD during %post

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

 



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", ),
     ]
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux