Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
[yast-devel] Disabling and enabling modules
  • From: "Leonardo L. P. da Mata" <barroca@xxxxxxxxx>
  • Date: Tue, 25 Aug 2009 11:11:48 -0300
  • Message-id: <7a26565f0908250711vca1df43n874f919d5a20114c@xxxxxxxxxxxxxx>
Hello, i'm trying to add a new module into the installation so i can
create a partition for recovering the system if the user causes a
damage into the installed system. The module must create one
autoyast.xml file that will be used to reinstall the system with the
same configuration.

To call this module i must add it into the control.xml file. If i add
it into the "automatic configuration" step, it is called, but when i
try to add it just before the congratulations step, it is not called.

During my investigation i've found that this module is disabled by the
function AdjustDisabledItems() called by the inst_worker_continue.ycp.
This function call disable some modules and i don't know how to enable
then only adding into the control.xml file.

The only way i found how to enable this module was adding a call into
the inst_worker_continue.ycp to the function
ProductControl::EnableModule("name"); but to do this i need to change
the content of the yast2-installation package. Is there any way to
enable a module only adding it into the control.xml file?


Leonardo Luiz Padovani da Mata

"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages