evaluation only

This commit is contained in:
nazunalika 2021-03-14 16:09:19 -07:00
parent 982556ee97
commit 8fe6db8083
Signed by: label
GPG Key ID: CB6D9706D138D190
1 changed files with 21 additions and 2 deletions

View File

@ -76,8 +76,27 @@ 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 -- EVALUATION ONLY' > %{buildroot}%{_sysconfdir}/issue
echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
#echo '\S' > %{buildroot}%{_sysconfdir}/issue
#echo 'Kernel \r on an \m' >> %{buildroot}%{_sysconfdir}/issue
cat << EOF > %{buildroot}%{_sysconfdir}/issue
`.-/+++++++++/-.`
`-+++++++++++++++++-`
.+++++++++++++++++++++.
-+++++++++++++++++++++++.
+++++++++++++++/-/+++++++
+++++++++++++/. ./+++++
+++++++++++:. ./+++
+++++++++:` `:/:` .:/
-++++++:` .:+++++:`
.+++-` ./+++++++++:`
`-` ./+++++++++++-
-+++++++++:-.`
WARNING: THIS RELEASE IS NOT PRODUCTION READY.
\S -- TEST RELEASE -- EVALUATION ONLY
Kernel \r on an \m
EOF
cp %{buildroot}%{_sysconfdir}/issue{,.net}
echo >> %{buildroot}%{_sysconfdir}/issue