[opensuse-autoinstall] chroot scripts does not run
Hello, I'm trying to use AutoYaST to install SLES10SP1. I need to make use of chroot scripts, but found an issue with it; This is a snippet from my AutoYaST script; <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">false</chrooted> <location>file:///mounts/extra/chroot-1.sh</location> </script> <script> <chrooted config:type="boolean">true</chrooted> <location>file:///mounts/extra/chroot-2.sh</location> </script> </chroot-scripts> </scripts> In the example above, the chrooted=false script runs just fine, but the chrooted=true does not. It looks like it is still trying to run it from /mnt/var/... instead of /var/... /mnt/var/... does not exist since we've done a chroot into / at this stage. This is a snippet from y2log for the chroot-2.sh script; 2008-08-19 06:13:31 <1> linux(3086) [Interpreter] clients/autoinst_scripts2_finish.ycp:57 Calling YaST client autoinst_scripts2_finish (arguments: ["Write"]) 2008-08-19 06:13:31 <1> linux(3086) [YCP] clients/autoinst_scripts2_finish.ycp:33 starting autoinst_scripts2_finish 2008-08-19 06:13:31 <1> linux(3086) [YCP] AutoinstScripts.ycp:484 Writing chroot script into /mnt/var/adm/autoinstall/scripts/chroot-scripts 2008-08-19 06:13:31 <1> linux(3086) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-03086-eyCR4s/tmp_mount 2008-08-19 06:13:31 <1> linux(3086) [YCP] autoinstall/io.ycp:119 Copy profile: cp /mounts/extra/config/etc/config-builder/chroot-2.sh /mnt/var/adm/autoinstall/scripts/chroot-scripts 2008-08-19 06:14:12 <1> linux(3086) [YCP] AutoinstScripts.ycp:548 Script Execution command: /bin/sh -x /mnt/var/adm/autoinstall/scripts/chroot-scripts 2&> /mnt/var/adm/autoinstall/logs/chroot-scripts.log 2008-08-19 06:14:12 <1> linux(3086) [YCP] clients/autoinst_scripts2_finish.ycp:57 autoinst_scripts2_finish finished 2008-08-19 06:14:12 <1> linux(3086) [Interpreter] clients/autoinst_scripts2_finish.ycp:57 Called YaST client returned: nil Any ideas on what's happening here? Thanks, Magnus -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Wednesday 20 August 2008, Magnus Boman wrote:
I'm trying to use AutoYaST to install SLES10SP1. I need to make use of chroot scripts, but found an issue with it;
Any ideas on what's happening here?
there was a bug in SP1: http://www.suse.de/~ug/autoyast_changes_SLES10SP2.html which was fixed for SP2 you can download a driverupdate here: http://www.suse.de/~ug/download/ that contains the fix for SP1 too -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Magnus Boman
-
Uwe Gansert