From b93c4cec8de5861cff32c4ad4f56927c1dd3ca1dad6d36e3cebb7ac64bd3f380 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 16 Jan 2019 10:58:13 +0000 Subject: [PATCH] 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 --- default-SUSE-user.preset | 1 + systemd-presets-common-SUSE.changes | 6 ++++++ systemd-presets-common-SUSE.spec | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 default-SUSE-user.preset diff --git a/default-SUSE-user.preset b/default-SUSE-user.preset new file mode 100644 index 0000000..7f308c7 --- /dev/null +++ b/default-SUSE-user.preset @@ -0,0 +1 @@ +enable pulseaudio.socket diff --git a/systemd-presets-common-SUSE.changes b/systemd-presets-common-SUSE.changes index a6c1617..4c64692 100644 --- a/systemd-presets-common-SUSE.changes +++ b/systemd-presets-common-SUSE.changes @@ -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 diff --git a/systemd-presets-common-SUSE.spec b/systemd-presets-common-SUSE.spec index 4f86b94..864e262 100644 --- a/systemd-presets-common-SUSE.spec +++ b/systemd-presets-common-SUSE.spec @@ -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