Mailinglist Archive: opensuse-bugs (6906 mails)

< Previous Next >
[Bug 679435] autoyast does not install post-packages

https://bugzilla.novell.com/show_bug.cgi?id=679435

https://bugzilla.novell.com/show_bug.cgi?id=679435#c36


--- Comment #36 from Jiří­ Suchomel <jsuchome@xxxxxxxxxx> 2011-03-24 08:38:29
UTC ---
(In reply to comment #35)
IMO the proposed fix should work for this particular case but it's not
generic enough. A few lines above, you have:

--- cut ---
if ...
ProductControl::DisableModule ("add-on");

if ...
ProductControl::EnableModule ("productsources");

ProductControl::DisableModule ("root");
--- cut ---

These do not hurt. see below.

Additionally, after that AdjustAutomaticConfiguration() is called
that contains:

--- cut ---
ProductControl::DisableAllModulesAndProposals ("installation", "continue");
ProductControl::EnableModule ("automatic_configuration");
EnableRequiredModules();

or

ProductControl::UnDisableAllModulesAndProposals ("installation", "continue");
ProductControl::DisableModule ("automatic_configuration");
--- cut ---

Yes, and in case of autoYaST, second part of this is actually called, because
ProductControl::GetUseAutomaticConfiguration returns false - it is set to false
after my patch proposed above in the call of:

ProductControl::SetUseAutomaticConfiguration (autoconfiguration_default ==
true);


IMO we should do something like this
...

Whit my patch proposal above,
InstData::enable_autoconfiguration is set to false
ProductControl::use_automatic_configuration is set to fals
and
ProductControl::UnDisableAllModulesAndProposals ("installation", "continue")
ProductControl::DisableModule ("automatic_configuration");

are called. I think this should solve it all.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >
References