forked from pool/util-linux
Accepting request 644909 from home:sbrabec:branches:numlock-b1113188
- Fix runstatedir path (to /run) (boo#1113188#c1). OBS-URL: https://build.opensuse.org/request/show/644909 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=382
This commit is contained in:
parent
7de341a83d
commit
4278302324
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 17:24:46 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
- Fix runstatedir path (to /run) (boo#1113188#c1).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 12 14:06:56 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
|
@ -507,15 +507,12 @@ export SUID_LDFLAGS="-pie"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
export CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
# override default localstatedir to /run
|
||||
# only used for volatile data
|
||||
#
|
||||
# SUSE now supports only systemd based system. We do not build
|
||||
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
|
||||
AUTOPOINT=true autoreconf -vfi
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--localstatedir=/run \
|
||||
--docdir=%{_docdir}/%{_name} \
|
||||
--disable-makeinstall-chown \
|
||||
--disable-makeinstall-setuid \
|
||||
@ -844,6 +841,11 @@ getent passwd uuidd >/dev/null || \
|
||||
%{service_add_pre uuidd.socket uuidd.service}
|
||||
|
||||
%post -n uuidd
|
||||
# Fix running instance paths during live upgrade from
|
||||
# Leap = 15, SLE = 15 (boo#1113188).
|
||||
# Useful for Tumbleweed or zypper dup only.
|
||||
mv /run/run/uuidd /run/uuidd >/dev/null 2>&1 || :
|
||||
rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
||||
%{service_add_post uuidd.socket uuidd.service}
|
||||
|
||||
%preun -n uuidd
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 17:24:46 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
- Fix runstatedir path (to /run) (boo#1113188#c1).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 12 14:06:56 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
|
@ -507,15 +507,12 @@ export SUID_LDFLAGS="-pie"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
export CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
# override default localstatedir to /run
|
||||
# only used for volatile data
|
||||
#
|
||||
# SUSE now supports only systemd based system. We do not build
|
||||
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
|
||||
AUTOPOINT=true autoreconf -vfi
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--localstatedir=/run \
|
||||
--docdir=%{_docdir}/%{_name} \
|
||||
--disable-makeinstall-chown \
|
||||
--disable-makeinstall-setuid \
|
||||
@ -844,6 +841,11 @@ getent passwd uuidd >/dev/null || \
|
||||
%{service_add_pre uuidd.socket uuidd.service}
|
||||
|
||||
%post -n uuidd
|
||||
# Fix running instance paths during live upgrade from
|
||||
# Leap = 15, SLE = 15 (boo#1113188).
|
||||
# Useful for Tumbleweed or zypper dup only.
|
||||
mv /run/run/uuidd /run/uuidd >/dev/null 2>&1 || :
|
||||
rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
||||
%{service_add_post uuidd.socket uuidd.service}
|
||||
|
||||
%preun -n uuidd
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 17:24:46 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
- Fix runstatedir path (to /run) (boo#1113188#c1).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 12 14:06:56 CEST 2018 - sbrabec@suse.com
|
||||
|
||||
|
@ -507,15 +507,12 @@ export SUID_LDFLAGS="-pie"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
export CXXFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
# override default localstatedir to /run
|
||||
# only used for volatile data
|
||||
#
|
||||
# SUSE now supports only systemd based system. We do not build
|
||||
# sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
|
||||
AUTOPOINT=true autoreconf -vfi
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--localstatedir=/run \
|
||||
--docdir=%{_docdir}/%{_name} \
|
||||
--disable-makeinstall-chown \
|
||||
--disable-makeinstall-setuid \
|
||||
@ -844,6 +841,11 @@ getent passwd uuidd >/dev/null || \
|
||||
%{service_add_pre uuidd.socket uuidd.service}
|
||||
|
||||
%post -n uuidd
|
||||
# Fix running instance paths during live upgrade from
|
||||
# Leap = 15, SLE = 15 (boo#1113188).
|
||||
# Useful for Tumbleweed or zypper dup only.
|
||||
mv /run/run/uuidd /run/uuidd >/dev/null 2>&1 || :
|
||||
rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
||||
%{service_add_post uuidd.socket uuidd.service}
|
||||
|
||||
%preun -n uuidd
|
||||
|
Loading…
Reference in New Issue
Block a user