[yast-devel] selecting an additional pattern during installation
Hi all, I've just created the page http://en.opensuse.org/Select_additional_pattern that explains a way of selecting an additional pattern during the installation. This has been used in order to let the user select between different installation modes, that were: - client - server - standalone when the user selects the client, the client pattern is selected; when the user selects the server, the server one is selected; and the same for the standalone. Then, this pattern is stored in Packages::additional_pattern variable. This way, we can use all-in-one DVD instead of having one DVD and three addon CDs. This module, that presents the options using a GUI, needs of a modification on the module/Packages.ycp, so that it adds the previously selected pattern (the one in Packages::additional_pattern (we added this variable, too) ). Comments will be very welcome, greetings, -- Jordi Massaguer i Pla openTrends Solucions i Sistemes, S.L. Torre Llacuna C/Llacuna 166, 10º 1ª A 08018 Barcelona Phone: (+34) 93 320 84 14 Fax: (+34) 93 300 35 27 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Jordi Massaguer Pla napsal(a):
Hi all,
I've just created the page
http://en.opensuse.org/Select_additional_pattern
that explains a way of selecting an additional pattern during the installation. This has been used in order to let the user select between different installation modes, that were:
- client - server - standalone
when the user selects the client, the client pattern is selected; when the user selects the server, the server one is selected; and the same for the standalone. Then, this pattern is stored in Packages::additional_pattern variable.
Your script inst_additional_pattern.ycp from http://en.opensuse.org/Select_additional_pattern looks very similar to this one: http://svn.opensuse.org/svn/yast/trunk/pos-installation/src/clients/inst_sle... It is an added installation step that select additional patterns based on a user's decision. That script also doesn't need to modify the Packages.ycp module and also works on a running system.
This way, we can use all-in-one DVD instead of having one DVD and three addon CDs.
This module, that presents the options using a GUI, needs of a modification on the module/Packages.ycp, so that it adds the previously selected pattern (the one in Packages::additional_pattern (we added this variable, too) ).
Which three Add-On CDs would you like to use? Bye Lukas -- Lukas Ocilka, YaST Developer (xn--luk-gla45d) ----------------------------------------------------------------- SUSE LINUX, s. r. o., Lihovarska 1060/12, Praha 9, Czech Republic
El dl 28 de 01 del 2008 a les 18:59 -0500, en/na Lukas Ocilka va escriure:
Jordi Massaguer Pla napsal(a):
Hi all,
I've just created the page
http://en.opensuse.org/Select_additional_pattern
that explains a way of selecting an additional pattern during the installation. This has been used in order to let the user select between different installation modes, that were:
- client - server - standalone
when the user selects the client, the client pattern is selected; when the user selects the server, the server one is selected; and the same for the standalone. Then, this pattern is stored in Packages::additional_pattern variable.
Your script inst_additional_pattern.ycp from http://en.opensuse.org/Select_additional_pattern looks very similar to this one:
http://svn.opensuse.org/svn/yast/trunk/pos-installation/src/clients/inst_sle...
It is an added installation step that select additional patterns based on a user's decision.
That script also doesn't need to modify the Packages.ycp module and also works on a running system.
It looks very promising... can this script be executed before the software proposal? And before the first boot? Is there any restriction?
This way, we can use all-in-one DVD instead of having one DVD and three addon CDs.
This module, that presents the options using a GUI, needs of a modification on the module/Packages.ycp, so that it adds the previously selected pattern (the one in Packages::additional_pattern (we added this variable, too) ).
Which three Add-On CDs would you like to use?
Instead of using this module, we had proposed building an addon cd for each mode.
Bye Lukas
-- Jordi Massaguer i Pla openTrends Solucions i Sistemes, S.L. Torre Llacuna C/Llacuna 166, 10º 1ª A 08018 Barcelona Phone: (+34) 93 320 84 14 Fax: (+34) 93 300 35 27 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Jordi Massaguer Pla napsal(a):
El dl 28 de 01 del 2008 a les 18:59 -0500, en/na Lukas Ocilka va escriure:
http://svn.opensuse.org/svn/yast/trunk/pos-installation/src/clients/inst_sle...
It is an added installation step that select additional patterns based on a user's decision.
That script also doesn't need to modify the Packages.ycp module and also works on a running system.
It looks very promising... can this script be executed before the software proposal? And before the first boot? Is there any restriction?
Yes, that script selects patterns to be installed and software proposal then uses that information for Pkg::Solve() -- final selection of packages to be installed.
Which three Add-On CDs would you like to use?
Instead of using this module, we had proposed building an addon cd for each mode.
Good idea. YaST Add-On-Creator is the way to go. L.
participants (2)
-
Jordi Massaguer Pla
-
Lukas Ocilka