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 13:50:00 +0200
  • Message-id: <4891A6E8.20507@xxxxxxx>
Duncan Mac-Vicar Prett wrote:
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?
I think this is the target, and this values are related to our product naming.

Yes. And i found out that we store the product name in
/etc/SuSE-release, but the names used there are not the ones use in NU's
repoindex.xml, so we need to sync that.

So I doubt we should introduce a new concept or?

If there already is something usable, let's use it. But it must be
synced with what is used repoindex.xml

So this would be distribution + arch

yup. And it would be nice (read desirable) if it would be usable across
distros. So as far as storing of this value is concerned
/etc/SuSE-release is certainly not a good choice. Does LSB define
something like this?

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

< Previous Next >