SHA256
1
0
forked from pool/systemd

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

- spec: add sbat (boo#1198589)

OBS-URL: https://build.opensuse.org/request/show/982793
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1288
This commit is contained in:
Franck Bui 2022-06-15 12:35:14 +00:00 committed by Git OBS Bridge
parent 9e50a85b61
commit 637820eccd
2 changed files with 15 additions and 4 deletions

View File

@ -55,6 +55,11 @@ Fri Apr 29 12:37:00 UTC 2022 - Franck Bui <fbui@suse.com>
It's a backport of upstream commit 1000522a60ceade446773c67031b47a566d4a70d. It's a backport of upstream commit 1000522a60ceade446773c67031b47a566d4a70d.
-------------------------------------------------------------------
Wed Apr 20 08:25:27 UTC 2022 - Ludwig Nussel <lnussel@suse.de>
- spec: add sbat (boo#1198589)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 20 07:59:23 UTC 2022 - Ludwig Nussel <lnussel@suse.de> Wed Apr 20 07:59:23 UTC 2022 - Ludwig Nussel <lnussel@suse.de>

View File

@ -704,7 +704,13 @@ Have fun with these services at your own risk.
\ \
-Dgnu-efi=%{when sd_boot} \ -Dgnu-efi=%{when sd_boot} \
-Dkernel-install=%{when sd_boot} \ -Dkernel-install=%{when sd_boot} \
-Dsbat-distro= \ \
-Dsbat-distro="%{?sbat_distro}" \
-Dsbat-distro-summary="%{?sbat_distro_summary}" \
-Dsbat-distro-url="%{?sbat_distro_url}" \
\
-Dsbat-distro-pkgname="%{name}" \
-Dsbat-distro-version="%{version}-%{release}" \
\ \
-Ddefault-dnssec=no \ -Ddefault-dnssec=no \
-Ddns-servers='' \ -Ddns-servers='' \
@ -1001,8 +1007,8 @@ systemctl daemon-reexec || :
# systemctl kill --kill-who=main --signal=SIGRTMIN+25 "user@*.service" || : # systemctl kill --kill-who=main --signal=SIGRTMIN+25 "user@*.service" || :
if [ "$1" -eq 1 ]; then if [ "$1" -eq 1 ]; then
# Persistent journal is the default # Persistent journal is the default
mkdir -p %{_localstatedir}/log/journal mkdir -p %{_localstatedir}/log/journal
fi fi
%journal_catalog_update %journal_catalog_update
@ -1081,7 +1087,7 @@ fi
# old systems, the file doesn't exist. This is equivalent to # old systems, the file doesn't exist. This is equivalent to
# generation #1, which enables the creation of all compat symlinks. # generation #1, which enables the creation of all compat symlinks.
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
echo "COMPAT_SYMLINK_GENERATION=2" >/usr/lib/udev/compat-symlink-generation echo "COMPAT_SYMLINK_GENERATION=2" >/usr/lib/udev/compat-symlink-generation
fi fi
%post -n udev%{?mini} %post -n udev%{?mini}