remove annoying banner

This commit is contained in:
nazunalika 2021-05-19 17:06:30 -07:00
parent c7d6108dbd
commit f00a793023
Signed by: label
GPG Key ID: 6735C0E1BD65D048
1 changed files with 7 additions and 13 deletions

View File

@ -9,7 +9,7 @@
%define distro Rocky Linux
%define major 8
%define minor 4
%define rocky_rel 15
%define rocky_rel 16
%define upstream_rel %{major}.%{minor}
%define base_release_version %{major}
@ -82,9 +82,6 @@ Source1223: Rocky-Devel.repo
#Source1225: Rocky-FastTrack.repo
Source1226: Rocky-Plus.repo
# Remove once testing is done
Source4000: Rocky-issue
%description
%{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
# create /etc/issue and /etc/issue.net
#echo '\S' > %{buildroot}%{_sysconfdir}/issue
#echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
#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 '\S' > %{buildroot}%{_sysconfdir}/issue
echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
cp %{buildroot}%{_sysconfdir}/issue{,.net}
echo >> %{buildroot}%{_sysconfdir}/issue
# set up the dist tag macros
@ -234,6 +225,9 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_sysconfdir}/pki/rpm-gpg/
%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
- Release for 8.4