On 10/15/2013 03:41 PM, Ralf Corsepius wrote:
I think, you are mixing up things.
/etc/dpkg is a package's (dpkg's) config-directory, which may contain whatever this package considers to be its
configuration.
It's not related to distinguishing OS vendors, at all.
Since that bug 487437 it is presented in base-files package:
$ dpkg -L base-files |grep origins
/etc/dpkg/origins
/etc/dpkg/origins/debian
I agree that the path is quite misleading.
/etc/*-release
which is not perfect equivalent.
That's what the LSB mandates to identify an OS's vendor. Debian and Ubuntu also have them (os-release, lsb-release).
Debian have /etc/debian_version, lsb-release does not give useful output on my Debian system.
Well, I'm not saying that we must have it. I'm just helping to port some Debian package to Fedora and we hit this one.
Honestly, I heard about it for the first time. And I was not aware that Debian have something like this.
If Fedora does not have it, we can guess it, or hardcode it. I just thought that I would ask the elders :)
Well looking at content of fedora-release, there is interesting file /etc/os-release, nicely parse-able and supported
across distributions. And if we add there HOME_URL= and BUG_REPORT_URL according to
http://www.freedesktop.org/software/systemd/man/os-release.html#HOME_URL=
we will be functionally complete to origins/debian and complain to standards at the same time.
I filed BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1019344
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct