http://bugzilla.novell.com/show_bug.cgi?id=489634
User lslezak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=489634#c9
Ladislav Slezak changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|lslezak@novell.com |
--- Comment #9 from Ladislav Slezak 2009-05-04 04:10:36 MDT ---
The logic in Pkg::ResolvablePreselectPatches() is quite simple:
zypp::ResPoolProxy selectablePool(zypp::ResPool::instance().proxy());
for_(it, selectablePool.byKindBeginzypp::Patch(),
selectablePool.byKindEndzypp::Patch())
{
zypp::ui::Selectable::Ptr s = *it;
if (s && s->isNeeded())
{
zypp::Patch::constPtr patch = zypp::dynamic_pointer_cast<const
zypp::Patch>(s->candidateObj().resolvable());
// ignore optional patches (do not autoinstall, must be selected explicitly
by user)
if (patch->category() != "optional")
{
// check the required category
if (kind == "all" || (kind == "interactive" && patch->interactive())
|| (kind == "affects_pkg_manager" && patch->restartSuggested())
|| (kind == "reboot_needed" && patch->rebootSuggested())
|| (kind == "relogin_needed" && patch->reloginSuggested())
)
{
s->setToInstall(whoWantsIt);
}
}
}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.