mirror of
https://abf.rosa.ru/djam/rosa-release.git
synced 2025-02-23 14:32:47 +00:00
added issue files generation
This commit is contained in:
parent
7b45727f71
commit
998cf35b86
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
%define distrib Desktop
|
||||
%define version red2
|
||||
%define rel 21
|
||||
%define rel 22
|
||||
%define distname rosa
|
||||
%define distsuffix rosa
|
||||
%define distribution ROSA RED2
|
||||
|
@ -174,6 +174,11 @@ ln -sf rosa-release %buildroot/etc/system-release
|
|||
|
||||
echo "%{version}.0 %{rel} %{distname}" > %{buildroot}/etc/version
|
||||
|
||||
cp -p %buildroot/etc/rosa-release %buildroot/etc/issue
|
||||
echo "Kernel \r on an \m (\l)" >> %buildroot/etc/issue
|
||||
cp -p $RPM_BUILD_ROOT/etc/issue $RPM_BUILD_ROOT/etc/issue.net
|
||||
echo >> $RPM_BUILD_ROOT/etc/issue
|
||||
|
||||
mkdir -p %buildroot/etc/profile.d
|
||||
|
||||
# (tpg) follow standard specifications http://0pointer.de/blog/projects/os-release
|
||||
|
@ -222,6 +227,8 @@ cp -f %{SOURCE7} %buildroot/etc/profile.d/
|
|||
/etc/os-release
|
||||
/etc/profile.d/10rosa-release.sh
|
||||
/etc/profile.d/10rosa-release.csh
|
||||
%config(noreplace) /etc/issue
|
||||
%config(noreplace) /etc/issue.net
|
||||
%config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/system
|
||||
|
||||
%changelog
|
||||
|
|
Loading…
Add table
Reference in a new issue