Hi list, is it possible to generate a udev_rule like: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNELS=="0000:02:00.0", ATTR{dev_id}=="0x0", ATTR{type}= ="1", KERNEL=="eth*", NAME="eth0" via autoyast just with xml tags without using a script? Thanks, Jochen
Uwe Gansert <ug@suse.de> 05.06.12 12.19 Uhr >>> 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 :) -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org