On Tue, 14 Feb 2012, Simon McVittie wrote:

> Those names are obviously Linux-specific: to accomodate GNU/kFreeBSD, either
> the contents would have to be different between kernels (Architecture: any?
> Generated at install time? Copied from /usr/share at install time? ...), or
> the name in this file could just be "Debian" instead of "Debian GNU/Linux".

Since you are curious, I did this:

      sed -e "s&#OSNAME#&$(OSNAME)&g" etc/os-release \
                > debian/tmp/etc/os-release

There was already an OSNAME variable in debian/rules, and it was
already used to get the "nice and complete" name of the OS to be used
in /etc/motd and other files, so doing the same in /etc/os-release has
been very easy.

Thanks.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to