Accepting request 969330 from home:lnussel:branches:Base:System

- add SBAT values (boo#1193282)

OBS-URL: https://build.opensuse.org/request/show/969330
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm-config-SUSE?expand=0&rev=53
This commit is contained in:
Ludwig Nussel 2022-04-14 12:54:14 +00:00 committed by Git OBS Bridge
parent c203ea8f0d
commit b88126b367
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 11 11:50:22 UTC 2022 - Ludwig Nussel <lnussel@suse.de>
- add SBAT values (boo#1193282)
-------------------------------------------------------------------
Fri Mar 18 12:14:16 UTC 2022 - dmueller@suse.com

View File

@ -58,6 +58,20 @@ sed -e 's/@suse_version@/%{?suse_version}%{!?suse_version:0}/' \
%endif
< suse_macros.in > suse_macros
cat <<EOF > macros.d/macros.sbat
# Common SBAT values for secure boot
# https://github.com/rhboot/shim/blob/main/SBAT.md
%if 0%{?is_opensuse}
%%sbat_distro opensuse
%%sbat_distro_summary The openSUSE Project
%else
%%sbat_distro sle
%%sbat_distro_summary SUSE Linux Enterprise
%endif
%%sbat_distro_url mailto:security@suse.de
EOF
%install
# Install SUSE vendor macros and rpmrc
mkdir -p %{buildroot}%{_rpmconfigdir}/suse