1
0

Accepting request 455975 from home:fbui:branches:Base:System

- Enable by default uuidd shipped by util-linux (bsc#1012850)

OBS-URL: https://build.opensuse.org/request/show/455975
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-branding-openSUSE?expand=0&rev=86
This commit is contained in:
Marcus Meissner 2017-02-10 11:03:01 +00:00 committed by Git OBS Bridge
parent 8f2edea2b0
commit 5d2bc48c68
3 changed files with 22 additions and 4 deletions

View File

@ -37,3 +37,5 @@ enable display-manager.service
enable mcelog.service
enable snapper-cleanup.timer
enable snapper-timeline.timer
enable uuidd.socket
enable uuidd.service

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Feb 10 09:46:22 UTC 2017 - fbui@suse.com
- Enable by default uuidd shipped by util-linux (bsc#1012850)
util-linux was previously shipping a preset file enabling uuidd by
default. This is now done here as other packages are not supposed to
ship their own preset rules.
Also increase the package version so util-linux can conflict with
the previous versions and hence will be updated *after* the new
version of the presets package is. This is important otherwise if
util-linux removed its preset file first, then the presets package
would believe a new change in the presets and you enable again
uuidd.
-------------------------------------------------------------------
Thu Dec 15 08:42:09 UTC 2016 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package systemd-presets-branding-openSUSE
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define generic_name systemd-presets-branding
Name: %{generic_name}-openSUSE
Version: 0.3.0
Version: 0.4.0
Release: 0
Summary: Systemd default presets for openSUSE
License: GPL-2.0+
@ -56,8 +56,8 @@ install -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system-preset/
install -m755 %{SOURCE2} %{buildroot}%{_prefix}/lib/%{generic_name}/
%pre
# On initial installation, branding-preset-states does not yet exist, which is
# why we also check for the file to be present/executable
# On initial installation, branding-preset-states does not yet exist,
# which is why we also check for the file to be present/executable
if [ $1 -gt 1 -a -x %{_prefix}/lib/%{generic_name}/branding-preset-states ] ; then
#
# Save the old state so we can detect which package have its