Package: base-files
Version: 6.5
Severity: wishlist

Several pieces of software have started standardizing on a file
/etc/os-release containing distribution release information. This file
serves a similar function to running /usr/bin/lsb_release and parsing
its output, but as a simple text file without the need to run a program
just to read a bit of text. systemd originated this standard, and many
other distributions and programs have adopted it. This file needs to
live in some essential package installed by default, and since
base-files contains /etc/debian_version, base-files seems like the right
package to ship /etc/os-release as well.

This manpage specifies the format:
http://www.freedesktop.org/software/systemd/man/os-release.html

A sample version of this file, suitable for a stable wheezy system:

NAME=Debian
VERSION="7 (wheezy)"
ID=debian
VERSION_ID=7
PRETTY_NAME="Debian 7 (wheezy)"
ANSI_COLOR="1;31"


Optionally, NAME and PRETTY_NAME could say "Debian GNU/Linux" on
GNU/Linux systems, and other variations on other kernels Debian
supports. ID should always contain "debian", though.

The 7 in VERSION and VERSION_ID (and PRETTY_NAME) represents the numeric
version number from /etc/debian_version. (It can use 7.0, 7.0.1, or
similar values as well.) testing/unstable systems should leave out
VERSION_ID (which must contain a numeric value), but could specify
VERSION as a non-numeric value similar to that used in
/etc/debian_version ("wheezy/sid" or "testing/unstable").

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages base-files depends on:
ii  gawk [awk]  1:3.1.8+dfsg-0.1

base-files recommends no packages.

base-files suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to