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
6c080d58
Commit
6c080d58
authored
Sep 29, 2021
by
Mikhail Efremov
Committed by
Anton V. Boyarshinov
Oct 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Package /etc/altlinux-release again
Don't preserve previously installed /etc/altlinux-release: we are keep BUILD_ID in /etc/os-release now, it is enough.
parent
cdc4c885
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
Makefile.in
Makefile.in
+1
-7
branding.spec
branding.spec
+1
-8
No files found.
Makefile.in
View file @
6c080d58
...
...
@@ -154,16 +154,10 @@ install: browser-qt ahttpd boot indexhtml
#release
mkdir
-p
$(sysconfdir)/buildreqs/packages/ignore.d/
install
-pD
-m644
/dev/null
$(sysconfdir)/buildreqs/packages/ignore.d/$(BRAND)-$(THEME)-release
install
-d
$(datadir)/branding-data-current
install
-pD
-m644
systemd/os-release
$(prefix)/lib/os-release
echo
"$(PRODUCT_NAME) ($(CODENAME))"
>$(
datadir)/branding-data-current/release
/altlinux-release
echo
"$(PRODUCT_NAME) ($(CODENAME))"
>$(
sysconfdir)
/altlinux-release
for
n
in
fedora
redhat
system;
do
\
ln
-s
altlinux-release
$(sysconfdir)/$$n-release;
\
ln
-s
altlinux-release
$(datadir)/branding-data-current/release/$$n-release;
\
done
for
r
in
$(datadir)/branding-data-current/release/*-release;
do
\
f
=
"
$$
{r##*/}"
;
\
touch
$(sysconfdir)
/
"
$$
f"
;
\
done
#notes
cd
notes;
\
...
...
branding.spec
View file @
6c080d58
...
...
@@ -262,12 +262,6 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
subst "s|GRUB_WALLPAPER=.*|GRUB_WALLPAPER=/usr/share/plymouth/themes/%theme/grub.jpg|" \
/etc/sysconfig/grub2 ||:
#release
%post release
if ! [ -e %_sysconfdir/altlinux-release ] && \
cp -a %data_cur_dir/release/*-release %_sysconfdir/
fi
#notes
%post notes
if ! [ -e %_datadir/alt-notes/license.all.html ]; then
...
...
@@ -289,9 +283,8 @@ fi
%_pixmapsdir/system-logo.png
%files release
%_sysconfdir/*-release
%_prefix/lib/os-release
%dir %data_cur_dir
%data_cur_dir/release/
%_sysconfdir/buildreqs/packages/ignore.d/*
%ghost %config(noreplace) %_sysconfdir/*-release
...
...
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