mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-12-22 08:38:31 +00:00
reduce CPE
This commit is contained in:
parent
67818c4232
commit
de6d0b09a5
@ -209,7 +209,7 @@ VERSION_ID="%{full_release_version}"
|
||||
PLATFORM_ID="platform:el%{major}"
|
||||
PRETTY_NAME="%{distro_name} %{full_release_version}%{?rlstatement: %{rlstatement}} (%{distro_code})"
|
||||
ANSI_COLOR="0;32"
|
||||
CPE_NAME="cpe:/o:rocky:rocky:%{full_release_version}"
|
||||
CPE_NAME="cpe:/o:rocky:rocky:%{base_release_version}"
|
||||
HOME_URL="https://rockylinux.org/"
|
||||
BUG_REPORT_URL="https://bugs.rockylinux.org/"
|
||||
ROCKY_SUPPORT_PRODUCT="%{distro_name}"
|
||||
@ -220,7 +220,7 @@ EOF
|
||||
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
||||
|
||||
# write cpe to /etc/system/release-cpe
|
||||
echo "cpe:/o:rocky:rocky:%{full_release_version}:GA" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
||||
echo "cpe:/o:rocky:rocky:%{base_release_version}" > %{buildroot}%{_sysconfdir}/system-release-cpe
|
||||
|
||||
# create /etc/issue and /etc/issue.net, /etc/issue.d
|
||||
echo '\S' > %{buildroot}%{_sysconfdir}/issue
|
||||
|
Loading…
Reference in New Issue
Block a user