Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
branding-etersoft-ximper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
branding-etersoft-ximper
Commits
da269ba4
Commit
da269ba4
authored
Feb 28, 2013
by
Mikhail Efremov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added os-release file.
For systemd. See specification:
http://www.freedesktop.org/software/systemd/man/os-release.html
Also added CODENAME config variable.
parent
9ff14a22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
branding.spec
branding.spec
+3
-2
os-release.in
components/systemd/os-release.in
+9
-0
configure.ac
configure.ac
+2
-0
No files found.
branding.spec
View file @
da269ba4
...
...
@@ -232,7 +232,7 @@ Menu for Simply Linux
%build
autoconf
THEME=%theme NAME='%Name' STATUS=%status VERSION=%version
./configure
THEME=%theme NAME='%Name' STATUS=%status VERSION=%version
CODENAME=%codename ./configure
make
%install
...
...
@@ -267,6 +267,7 @@ echo "%Name %version %status (%codename)" >%buildroot%_sysconfdir/altlinux-relea
for n in fedora redhat system; do
ln -s altlinux-release %buildroot%_sysconfdir/$n-release
done
install -pD -m644 components/systemd/os-release %buildroot%_sysconfdir/os-release
#notes
pushd notes
...
...
@@ -370,7 +371,7 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
%_datadir/plymouth/themes/%theme/*
%files release
%_sysconfdir/*-
*
%_sysconfdir/*-
release
%_sysconfdir/buildreqs/packages/ignore.d/*
%files notes
...
...
components/systemd/os-release.in
0 → 100644
View file @
da269ba4
NAME="@NAME@"
VERSION="@VERSION@@STATUS@ (@CODENAME@)"
ID=altlinux
VERSION_ID=@VERSION@
PRETTY_NAME="@NAME@ @VERSION@@STATUS@ (@CODENAME@)"
ANSI_COLOR="1;36"
CPE_NAME="cpe:/o:alt linux:slinux:@VERSION@"
HOME_URL="http://simplylinux.ru/"
BUG_REPORT_URL="https://bugs.altlinux.org/"
configure.ac
View file @
da269ba4
...
...
@@ -16,6 +16,7 @@ AC_SUBST(THEME)
AC_SUBST(NAME)
AC_SUBST(STATUS)
AC_SUBST(VERSION)
AC_SUBST(CODENAME)
AC_SUBST(DOCDIR)
AC_SUBST(PROGRESS_COLOR)
AC_SUBST(LIGHT_COLOR_HEX)
...
...
@@ -39,5 +40,6 @@ AC_CONFIG_FILES([
components/indexhtml/indexhtml.desktop
components/indexhtml/index-ru.html
components/indexhtml/index-en.html
components/systemd/os-release
])
AC_OUTPUT
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment