[systemd-devel] [HEADS-UP] Support for /etc/os-release now kinda mandatory

Lennart Poettering lennart at poettering.net
Tue Feb 14 10:41:32 PST 2012


On Tue, 14.02.12 10:19, Koen Kooi (koen at dominion.thruhere.net) wrote:

> 
> 
> Op 14 feb. 2012, om 10:16 heeft Lennart Poettering het volgende geschreven:
> 
> > On Mon, 13.02.12 18:39, Lennart Poettering (lennart at poettering.net) wrote:
> > 
> >>> We are taking this as first step for removing all the per-distro
> >>> ifdeffery we have in systemd. Since many major and a lot of minor
> >>> distributions have adopted /etc/os-release already (including finally
> >>> our own Fedora, as per last week) this shouldn't really break anything
> >>> for most folks. And if your distribution still hasn't adopted
> >>> /etc/os-release consider our move additional incentive to do so now.
> >> 
> >> BTW, in case your distribution doesn't know /etc/os-release yet, and
> >> you'd like to change that: here's the documentation for this file with
> >> an example how it should look like:
> >> 
> >> http://www.freedesktop.org/software/systemd/man/os-release.html
> > 
> > Just a quick note: we now added a CPE field to this, on popular
> > request. If you have already adopted this file in your distro, then it
> > might be a good idea to update it to include the CPE name for your
> > distribution.
> > 
> > (Also, yes, the subject of this thread was borked, it's /etc/os-release,
> > not /dev/os-release. Sorry for the confusion).
> 
> Excuse my ignorance, what is CPE?

As linked from the man page of os-release:

http://cpe.mitre.org/specification/

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list