SHA256
1
0
forked from pool/systemd

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

OBS-URL: https://build.opensuse.org/request/show/329506
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=901
This commit is contained in:
Dr. Werner Fink 2015-09-07 12:10:53 +00:00 committed by Git OBS Bridge
parent 0be65d9989
commit 4050d5fb4a
4 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 7 11:50:21 UTC 2015 - fbui@suse.com
- restore usage of LUA in %pretrans.
-------------------------------------------------------------------
Mon Sep 7 08:09:05 UTC 2015 - werner@suse.de

View File

@ -992,10 +992,11 @@ if [ $1 -eq 0 ]; then
rm -f /etc/systemd/system/default.target 2>&1 || :
fi
%pretrans -n udev%{?mini}
if test -e /lib/udev -a ! -e /usr/lib/udev; then
ln -s /lib/udev /usr/lib/udev
fi
# pretrans section must always use lua
%pretrans -n %{udevpkgname} -p <lua>
if posix.stat("/lib/udev") and not posix.stat("/usr/lib/udev") then
posix.symlink("/lib/udev", "/usr/lib/udev")
end
%pre -n udev%{?mini}
if test -L /usr/lib/udev -a /lib/udev -ef /usr/lib/udev ; then

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 7 11:50:21 UTC 2015 - fbui@suse.com
- restore usage of LUA in %pretrans.
-------------------------------------------------------------------
Mon Sep 7 08:09:05 UTC 2015 - werner@suse.de

View File

@ -987,10 +987,11 @@ if [ $1 -eq 0 ]; then
rm -f /etc/systemd/system/default.target 2>&1 || :
fi
%pretrans -n udev%{?mini}
if test -e /lib/udev -a ! -e /usr/lib/udev; then
ln -s /lib/udev /usr/lib/udev
fi
# pretrans section must always use lua
%pretrans -n %{udevpkgname} -p <lua>
if posix.stat("/lib/udev") and not posix.stat("/usr/lib/udev") then
posix.symlink("/lib/udev", "/usr/lib/udev")
end
%pre -n udev%{?mini}
if test -L /usr/lib/udev -a /lib/udev -ef /usr/lib/udev ; then