Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 15 Feb 2012 21:52:26 +0400
Subject: Re: /etc/os-release

On 15-Feb-2012 18:36:08 +0400, Solar Designer wrote:
 > We should probably add this:
 > even though we have no intent to use systemd in the foreseeable future.

That will be a "spec-only" package...

==== cut ====
Summary: Operating system identification
Name: os-release
Version: 3.0.current
Release: owl1
License: GPL
Group: System/Utilities
AutoReq: false
Provides: /etc/os-release
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root

The /etc/os-release file contains operating system identification data.

cat > %{name} << __OS_RELEASE_EOF__
NAME="Openwall GNU/*/Linux"
PRETTY_NAME="Openwall GNU/*/Linux %{version}"

rm -rf %{buildroot}
mkdir -m 755 -p %{buildroot}%{_sysconfdir}
install -m 644 %{name} %{buildroot}%{_sysconfdir}/%{name}
rm -f %{name}

rm -rf %{buildroot}

==== cut ====

Possibly we should differ between package version and distribution
version, but the above just does the thing.

Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ