mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-16 19:41:23 +00:00
remove annoying banner
This commit is contained in:
parent
c57f39667a
commit
7e68436471
@ -9,7 +9,7 @@
|
|||||||
%define distro Rocky Linux
|
%define distro Rocky Linux
|
||||||
%define major 8
|
%define major 8
|
||||||
%define minor 4
|
%define minor 4
|
||||||
%define rocky_rel 15
|
%define rocky_rel 16
|
||||||
%define upstream_rel %{major}.%{minor}
|
%define upstream_rel %{major}.%{minor}
|
||||||
|
|
||||||
%define base_release_version %{major}
|
%define base_release_version %{major}
|
||||||
@ -82,9 +82,6 @@ Source1223: Rocky-Devel.repo
|
|||||||
#Source1225: Rocky-FastTrack.repo
|
#Source1225: Rocky-FastTrack.repo
|
||||||
Source1226: Rocky-Plus.repo
|
Source1226: Rocky-Plus.repo
|
||||||
|
|
||||||
# Remove once testing is done
|
|
||||||
Source4000: Rocky-issue
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{distro} release files.
|
%{distro} release files.
|
||||||
|
|
||||||
@ -148,15 +145,9 @@ ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
|||||||
echo "cpe:/o:rocky:rocky:%{major}" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
echo "cpe:/o:rocky:rocky:%{major}" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
||||||
|
|
||||||
# create /etc/issue and /etc/issue.net
|
# create /etc/issue and /etc/issue.net
|
||||||
#echo '\S' > %{buildroot}%{_sysconfdir}/issue
|
echo '\S' > %{buildroot}%{_sysconfdir}/issue
|
||||||
#echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
|
echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
|
||||||
#cp %{buildroot}%{_sysconfdir}/issue{,.net}
|
cp %{buildroot}%{_sysconfdir}/issue{,.net}
|
||||||
|
|
||||||
# Remove these once we are no longer testing
|
|
||||||
install -m 0644 %{SOURCE4000} %{buildroot}%{_sysconfdir}/issue
|
|
||||||
install -m 0644 %{SOURCE4000} %{buildroot}%{_sysconfdir}/issue.net
|
|
||||||
# End
|
|
||||||
|
|
||||||
echo >> %{buildroot}%{_sysconfdir}/issue
|
echo >> %{buildroot}%{_sysconfdir}/issue
|
||||||
|
|
||||||
# set up the dist tag macros
|
# set up the dist tag macros
|
||||||
@ -234,6 +225,9 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|||||||
%{_sysconfdir}/pki/rpm-gpg/
|
%{_sysconfdir}/pki/rpm-gpg/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 19 2021 Louis Abel <label@rockylinux.org> - 8.4-16
|
||||||
|
- Remove annoying /etc/issue banner
|
||||||
|
|
||||||
* Sat May 08 2021 Louis Abel <label@rockylinux.org> - 8.4-15
|
* Sat May 08 2021 Louis Abel <label@rockylinux.org> - 8.4-15
|
||||||
- Release for 8.4
|
- Release for 8.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user