1
0

Accepting request 666445 from home:tiwai:branches:Base:System

- Add default user preset: currently containing only the new
  pulseaudio.socket (bsc#1083473)

OBS-URL: https://build.opensuse.org/request/show/666445
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=15
This commit is contained in:
Marcus Meissner 2019-01-16 10:58:13 +00:00 committed by Git OBS Bridge
parent 1a4e589b40
commit b93c4cec8d
3 changed files with 11 additions and 0 deletions

1
default-SUSE-user.preset Normal file
View File

@ -0,0 +1 @@
enable pulseaudio.socket

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 15 17:26:42 CET 2019 - tiwai@suse.de
- Add default user preset: currently containing only the new
pulseaudio.socket (bsc#1083473)
-------------------------------------------------------------------
Fri Jan 11 15:09:22 CET 2019 - kukuk@suse.de

View File

@ -27,6 +27,7 @@ Group: System/Base
Source0: default-SUSE.preset
Source2: 99-default-disable.preset
Source3: branding-preset-states
Source4: default-SUSE-user.preset
BuildRequires: systemd
#!BuildIgnore: systemd-presets-branding
PreReq: coreutils
@ -48,11 +49,13 @@ Default presets for systemd on SUSE based distributions.
%install
mkdir -p %{buildroot}%{_prefix}/lib/%{generic_name}
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset
# everything that must be enabled to have a working system.
# shared across all brands
install -m644 %{SOURCE0} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-default-SUSE.preset
install -m644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/system-preset/
install -m755 %{SOURCE3} %{buildroot}%{_prefix}/lib/%{generic_name}/
install -m644 %{SOURCE4} %{buildroot}%{_prefix}/lib/systemd/user-preset/90-default-SUSE.preset
%pre
# On initial installation, branding-preset-states does not yet exist,
@ -91,5 +94,6 @@ rm -f /run/rpm-%{name}-preset-all
%defattr(-,root,root)
%{_prefix}/lib/%{generic_name}/
%{_prefix}/lib/systemd/system-preset/*
%{_prefix}/lib/systemd/user-preset/*
%changelog