On 05/13/2011 10:02 AM, Miroslav Suchý wrote:
 > If you go through SDC ->  software ->  errata ->  and you choose one.
It should result in:
  errata.update
actions.

Which is picked up by:
client/rhel/rhn-client-tools/src/actions/errata.py

The transformation from errata to package list is there:
     for errataid in errataidlist:
         tmpList = __getErrataInfo(errataid)
         packagelist = packagelist + tmpList


Thanks, I completely oversaw this errata action as I saw all installs ending in packages.py (which we reimplemented), but now I see errata.py actually uses packages.py.

Would it make more sense for errata.py to be in the yum-rhn-plugin?

For *SUSE I think we will have to override errata.py as zypper should install the patch directly and not let the plugin resolve the package list.

Would it be acceptable upstream that we don't install errata.py from the .spec file %if 0%{?suse_version} and supply it with zypp-plugin-spacewalk (which contains package.py)?

Thanks for the hint.

--
Duncan Mac-Vicar P. - Novell® Making IT Work As One™

SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to