Red Hat Bugzilla – Bug 605754
[patch] rescue --nomount exits the installer right away if no %post scripts
Last modified: 2010-06-21 10:16:06 EDT
Created attachment 425198 [details]
patch generated by git format-patch
Description of problem:
When running the installer in rescue mode with rescue --nomount and tehre are no %post scripts in the kickstart file the installer will not start a shell but exit.
A patch is attached which will execute the scripts if they are present otherwise run interactive shell.
DISCLAIMER: this is not tested at all but should work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run with a ks.cfg which has only the line:
stage2 starts and exits.
Start a shell if no %post scripts are present.
Thanks for the patch. Pushed.