Am 06/05/2012 12:18 PM, schrieb Uwe Gansert:
On 05.06.2012 11:14, Daniel Spannbauer wrote:
The script is called during the installation but it seems that it is abborted before the file installation_disabled_steps is generated.
I don't like the solution with the sleep anyway. That looks like an invitation to a race.
Better try this: In the installed system, there is a directory called
/usr/lib/YaST2/startup/hooks/preSecondCall/
The yast startscript will execute all scripts in that directory before it really launches yast. If you put a script in there with the name "S01xxxxx.sh", you still have time to fix /var/lib/YaST2/installation_disabled_steps with that script before yast starts and reads it.
So your chroot script should create the S01xxx.sh script that fixes the installation_disabled_steps file then. The S01 prefix is important.
So much for theory. I did not try it but I'm confident it works.
It's fixed in 12.1 - maybe that's an option too :)
Yes....this seems to be the cleaner method :) Works...tanks. Regards Daniel -- Daniel Spannbauer Software Entwicklung marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4 - 6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org