Mailinglist Archive: zypp-devel (64 mails)

< Previous Next >
Re: [zypp-devel] OS identifier for repositories
  • From: Jan Kupec <jkupec@xxxxxxx>
  • Date: Thu, 31 Jul 2008 14:09:47 +0200
  • Message-id: <4891AB8B.7040200@xxxxxxx>
Michael Andres wrote:
On Thu, Jul 31, Jan Kupec wrote:

Hi,

in order to support repository index services (NU type), we need to introduce a function returning an identifier of the OS. Zypp will use this to filter corresponding repositories from the repo index.

Currently we use OSName-arch (e.g. sles-10-x86_64). No problem to get the arch, but how to get the OSName? Do we store this somewhere?

As for the interface, i suggest to place the functions to ZConfig:

Take into account that our ZConfig handling is not clean, if we use --root.

What exactly is the problem or ambiguity?

(in fact we had to read the target systems ZConfig and re-initialize all already launches components according to the new settings.)

i'm not completely sure what this means :(

Until we realy do this those values should probably associated with the Target and not with ZConfig.

I thought about ZConfing in order to be able to play around with arch/distros other than the system's in --root; i.e. pretend that you are on another system.

j.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups