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

RE: Terminate a CDROM install from %pre



On Wed, 2 Apr 2003 james oden tekelec com wrote:

> an error to whatever called it, to get the thing to stop properly.  At
> anyrate its easy to see that there was no
> intention of even caring about return codes from %pre scripts (or %post
> scripts for that matter), which I
> thinks is the wrong thing to do, or at least there should be an option to
> request it to do this, but in most
> cases if the %pre goes bad, I don't want the install to continue.  In our
> case when %pre goes bad
> usually shortly there after anaconda goes completley off the rails and we
> get a python exception.

Clearly, change that behaviour now is going to upset folks.

What happens if you remove the ks file in your %pre script?

I think this could be made an acceptable way to stop a ks install at
that point. Jeremy may accept a patch to that effect.



-- 
Please, reply only to the list.






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