On Fri, Jul 26, 2013 at 06:32:12PM +0000, Nashif, Anas wrote:
> 
> 
> On 26/07/2013 07:39, "Michael Schroeder" <m...@suse.de> wrote:
> 
> >On Thu, Jul 25, 2013 at 10:30:15PM +0000, Nashif, Anas wrote:
> >> when using patches, how can one add packages to be installed on the
> >>system (that were not installed before) or remove packages?
> >> I understand this can be done in packages directly by either adding
> >>dependencies to other packages or obsoleting package, but is there some
> >>other way to do it?
> >
> >Dependency wise, patches are just solvables, so they can contain requires
> >and conflicts. But patches are generated from the data in updateinfo.xml,
> >and that therefore can only update installed packages.
> 
> aha, so is it a limitation in the updateinfo.xml? Where can you add
> requires and conflicts to a patch otherwise?

Well, you can't. You need to extend the updateinfo.xml parser to
do such things.

Cheers,
  Michael.

-- 
Michael Schroeder                                   m...@suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-- 
To unsubscribe, e-mail: zypp-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: zypp-devel+ow...@opensuse.org

Reply via email to