[opensuse-autoinstall] image installation doesn't work with autoyast
Hello, i've added a comment in the blog: http://ugansert.blogspot.com/2009/03/imagine-autoyast.html and as Uwe told me, it's better to send the question here. So, i've made some changes in opensuse 11.1 CD to make my installation faster. Yast is able to install using images (images/myownsuse-i386.tar.lzma file). It takes around 15 minutes lesser to install compared to RPM packages. Now i'm trying to use autoyast with this kind of image deployment, but it doesn't work. I've checked y2log but it seems that the inst_deploy_image is not beeing called. my autoyast.xml contains the patterns that i need (these patterns is on the myownsuse image that i build, and they are listed in the details.xml file), and i've added the option <deploy_image> <image_installation config:type="boolean">true</image_installation> </deploy_image> But autoyast is not using the image deployment installation.. Is there any know issue about using image installation with autoyast? Thanks. -- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
After analysing the logs, i've noticed that the installer is calling inst_kickoff instead of calling inst_deploy_image with autoyast: [YCP] clients/inst_prepdisk.ycp:181 END of inst_prepdisk.ycp [Interpreter] clients/inst_prepdisk.ycp:181 Called YaST client returned. [YCP] clients/inst_prepdisk.ycp:1293 Calling `inst_prepdisk ($["enable_back":false, "enable_next":false]) returned `next [YCP] ProductControl.ycp:297 mod: $["id":"initial_6", "label":"Perform Installation", "name":"kickoff"] [YCP] ProductControl.ycp:1266 Calling `inst_kickoff ($["enable_back":false, "enable_next":false]) [Parser] clients/inst_kickoff.ycp:322 Warning: Format string is not constant, no parameter checking possible [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished [Interpreter] clients/inst_kickoff.ycp:524 Calling YaST client inst_kickoff (arguments: [$["enable_back":false, "enable_next":false]]) [YCP] clients/inst_kickoff.ycp:64 Copying /etc/mtab to the target system... [YCP] clients/inst_kickoff.ycp:98 Target /etc/mtab file: rootfs / rootfs rw 0 0 without autoyast: inst_prepdisk.ycp [Interpreter] clients/inst_prepdisk.ycp:181 Called YaST client returned. [YCP] clients/inst_prepdisk.ycp:1293 Calling `inst_prepdisk ($["enable_back":true, "enable_next":true]) returned `next [YCP] ProductControl.ycp:297 mod: $["id":"initial_12", "label":"Perform Installation", "name":"deploy_image"] [YCP] ProductControl.ycp:1266 Calling `inst_deploy_image ($["enable_back":true, "enable_next":true]) [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished [Interpreter] clients/inst_deploy_image.ycp:346 Calling YaST client inst_deploy_image (arguments: [$["enable_back":true, "enable_next":true]]) [YCP] clients/inst_deploy_image.ycp:25 Deploying images [YCP] SlideShow.ycp:333 Moving to stage images (21) [YCP] ImageInstallation.ycp:195 New tar_image_progress: <YCPRef:void SetOneImageProgress (integer current_progress)> On Mon, Jun 8, 2009 at 2:20 PM, Leonardo L. P. da Mata<barroca@gmail.com> wrote:
Hello, i've added a comment in the blog: http://ugansert.blogspot.com/2009/03/imagine-autoyast.html
and as Uwe told me, it's better to send the question here.
So, i've made some changes in opensuse 11.1 CD to make my installation faster. Yast is able to install using images (images/myownsuse-i386.tar.lzma file). It takes around 15 minutes lesser to install compared to RPM packages.
Now i'm trying to use autoyast with this kind of image deployment, but it doesn't work. I've checked y2log but it seems that the inst_deploy_image is not beeing called.
my autoyast.xml contains the patterns that i need (these patterns is on the myownsuse image that i build, and they are listed in the details.xml file), and i've added the option <deploy_image> <image_installation config:type="boolean">true</image_installation> </deploy_image>
But autoyast is not using the image deployment installation..
Is there any know issue about using image installation with autoyast?
Thanks.
-- Leonardo Luiz Padovani da Mata barroca@gmail.com
"May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?"
-- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Oh, it's good when we figure out what's going on. I had to change the control.xml to allow image deployment beffore kickoff during autoinstallation.. :-) On Mon, Jun 8, 2009 at 4:06 PM, Leonardo L. P. da Mata<barroca@gmail.com> wrote:
After analysing the logs, i've noticed that the installer is calling inst_kickoff instead of calling inst_deploy_image with autoyast: [YCP] clients/inst_prepdisk.ycp:181 END of inst_prepdisk.ycp [Interpreter] clients/inst_prepdisk.ycp:181 Called YaST client returned. [YCP] clients/inst_prepdisk.ycp:1293 Calling `inst_prepdisk ($["enable_back":false, "enable_next":false]) returned `next [YCP] ProductControl.ycp:297 mod: $["id":"initial_6", "label":"Perform Installation", "name":"kickoff"] [YCP] ProductControl.ycp:1266 Calling `inst_kickoff ($["enable_back":false, "enable_next":false]) [Parser] clients/inst_kickoff.ycp:322 Warning: Format string is not constant, no parameter checking possible [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished [Interpreter] clients/inst_kickoff.ycp:524 Calling YaST client inst_kickoff (arguments: [$["enable_back":false, "enable_next":false]]) [YCP] clients/inst_kickoff.ycp:64 Copying /etc/mtab to the target system... [YCP] clients/inst_kickoff.ycp:98 Target /etc/mtab file: rootfs / rootfs rw 0 0
without autoyast: inst_prepdisk.ycp [Interpreter] clients/inst_prepdisk.ycp:181 Called YaST client returned. [YCP] clients/inst_prepdisk.ycp:1293 Calling `inst_prepdisk ($["enable_back":true, "enable_next":true]) returned `next [YCP] ProductControl.ycp:297 mod: $["id":"initial_12", "label":"Perform Installation", "name":"deploy_image"] [YCP] ProductControl.ycp:1266 Calling `inst_deploy_image ($["enable_back":true, "enable_next":true]) [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished [Interpreter] clients/inst_deploy_image.ycp:346 Calling YaST client inst_deploy_image (arguments: [$["enable_back":true, "enable_next":true]]) [YCP] clients/inst_deploy_image.ycp:25 Deploying images [YCP] SlideShow.ycp:333 Moving to stage images (21) [YCP] ImageInstallation.ycp:195 New tar_image_progress: <YCPRef:void SetOneImageProgress (integer current_progress)>
On Mon, Jun 8, 2009 at 2:20 PM, Leonardo L. P. da Mata<barroca@gmail.com> wrote:
Hello, i've added a comment in the blog: http://ugansert.blogspot.com/2009/03/imagine-autoyast.html
and as Uwe told me, it's better to send the question here.
So, i've made some changes in opensuse 11.1 CD to make my installation faster. Yast is able to install using images (images/myownsuse-i386.tar.lzma file). It takes around 15 minutes lesser to install compared to RPM packages.
Now i'm trying to use autoyast with this kind of image deployment, but it doesn't work. I've checked y2log but it seems that the inst_deploy_image is not beeing called.
my autoyast.xml contains the patterns that i need (these patterns is on the myownsuse image that i build, and they are listed in the details.xml file), and i've added the option <deploy_image> <image_installation config:type="boolean">true</image_installation> </deploy_image>
But autoyast is not using the image deployment installation..
Is there any know issue about using image installation with autoyast?
Thanks.
-- Leonardo Luiz Padovani da Mata barroca@gmail.com
"May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?"
-- Leonardo Luiz Padovani da Mata barroca@gmail.com
"May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?"
-- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Monday 08 June 2009 Leonardo L. P. da Mata wrote:
After analysing the logs, i've noticed that the installer is calling inst_kickoff instead of calling inst_deploy_image with autoyast:
autoyast does not call that client by design. It calls deploy_image_auto -- 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
on Monday 08 June 2009 Leonardo L. P. da Mata wrote:
So, i've made some changes in opensuse 11.1 CD to make my installation faster. Yast is able to install using images (images/myownsuse-i386.tar.lzma file). It takes around 15 minutes lesser to install compared to RPM packages.
you mean your image is working in a non-autoyast installation?
Now i'm trying to use autoyast with this kind of image deployment, but it doesn't work. I've checked y2log but it seems that the inst_deploy_image is not beeing called.
autoyast calls deploy_image_auto and passes this XML part to it:
<deploy_image> <image_installation config:type="boolean">true</image_installation> </deploy_image>
But autoyast is not using the image deployment installation..
Is there any know issue about using image installation with autoyast?
hm. Actually that should work. Do you see something from the "deploy_image_auto" client in the log? the <deploy_image> XML is not part of the <software> section - maybe you put it in there accidently? -- 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
i've found that, in my control.xml file, the workflow for automatic installation didn't had the deploy_image step, so i just changed the control.xml and voila! On Tue, Jun 9, 2009 at 10:26 AM, Uwe Gansert<ug@suse.de> wrote:
on Monday 08 June 2009 Leonardo L. P. da Mata wrote:
So, i've made some changes in opensuse 11.1 CD to make my installation faster. Yast is able to install using images (images/myownsuse-i386.tar.lzma file). It takes around 15 minutes lesser to install compared to RPM packages.
you mean your image is working in a non-autoyast installation?
Yeah, but now both are working.
Now i'm trying to use autoyast with this kind of image deployment, but it doesn't work. I've checked y2log but it seems that the inst_deploy_image is not beeing called.
autoyast calls deploy_image_auto and passes this XML part to it:
<deploy_image> <image_installation config:type="boolean">true</image_installation> </deploy_image>
But autoyast is not using the image deployment installation..
Is there any know issue about using image installation with autoyast?
hm. Actually that should work. Do you see something from the "deploy_image_auto" client in the log? the <deploy_image> XML is not part of the <software> section - maybe you put it in there accidently?
Thanks. -- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Leonardo L. P. da Mata
-
Uwe Gansert