forked from pool/systemd-presets-common-SUSE
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:
parent
1a4e589b40
commit
b93c4cec8d
1
default-SUSE-user.preset
Normal file
1
default-SUSE-user.preset
Normal file
@ -0,0 +1 @@
|
|||||||
|
enable pulseaudio.socket
|
@ -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
|
Fri Jan 11 15:09:22 CET 2019 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Group: System/Base
|
|||||||
Source0: default-SUSE.preset
|
Source0: default-SUSE.preset
|
||||||
Source2: 99-default-disable.preset
|
Source2: 99-default-disable.preset
|
||||||
Source3: branding-preset-states
|
Source3: branding-preset-states
|
||||||
|
Source4: default-SUSE-user.preset
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
#!BuildIgnore: systemd-presets-branding
|
#!BuildIgnore: systemd-presets-branding
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
@ -48,11 +49,13 @@ Default presets for systemd on SUSE based distributions.
|
|||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib/%{generic_name}
|
mkdir -p %{buildroot}%{_prefix}/lib/%{generic_name}
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset
|
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.
|
# everything that must be enabled to have a working system.
|
||||||
# shared across all brands
|
# shared across all brands
|
||||||
install -m644 %{SOURCE0} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-default-SUSE.preset
|
install -m644 %{SOURCE0} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-default-SUSE.preset
|
||||||
install -m644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/system-preset/
|
install -m644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/system-preset/
|
||||||
install -m755 %{SOURCE3} %{buildroot}%{_prefix}/lib/%{generic_name}/
|
install -m755 %{SOURCE3} %{buildroot}%{_prefix}/lib/%{generic_name}/
|
||||||
|
install -m644 %{SOURCE4} %{buildroot}%{_prefix}/lib/systemd/user-preset/90-default-SUSE.preset
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# On initial installation, branding-preset-states does not yet exist,
|
# On initial installation, branding-preset-states does not yet exist,
|
||||||
@ -91,5 +94,6 @@ rm -f /run/rpm-%{name}-preset-all
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/lib/%{generic_name}/
|
%{_prefix}/lib/%{generic_name}/
|
||||||
%{_prefix}/lib/systemd/system-preset/*
|
%{_prefix}/lib/systemd/system-preset/*
|
||||||
|
%{_prefix}/lib/systemd/user-preset/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user