Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
systemd-mini.1059
0001-make-209-working-on-older-dist.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-make-209-working-on-older-dist.patch of Package systemd-mini.1059
--- systemd-209/units/kmod-static-nodes.service.in +++ systemd-209/units/kmod-static-nodes.service.in 2014-02-27 15:04:30.378236539 +0000 @@ -15,4 +15,5 @@ ConditionPathExists=/lib/modules/%v/modu [Service] Type=oneshot RemainAfterExit=yes +ExecStartPre=@MKDIR_P@ /run/tmpfiles.d ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf --- systemd-209/configure.ac +++ systemd-209/configure.ac 2014-02-28 17:14:14.866235643 +0000 @@ -300,9 +300,9 @@ AC_ARG_ENABLE(kmod, AS_HELP_STRING([--di if test "x$enable_kmod" != "xno"; then PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no) if test "x$have_kmod" = "xyes"; then - PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ], + PKG_CHECK_MODULES(KMOD, [ libkmod >= 14 ], [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])], - AC_MSG_ERROR([*** kmod version >= 15 not found])) + AC_MSG_ERROR([*** kmod version >= 14 not found])) fi if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then AC_MSG_ERROR([*** kmod support requested, but libraries not found]) --- systemd-209/configure +++ systemd-209/configure 2014-02-28 17:13:50.770735397 +0000 @@ -15999,12 +15999,12 @@ if test -n "$KMOD_CFLAGS"; then pkg_cv_KMOD_CFLAGS="$KMOD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 15 \""; } >&5 - ($PKG_CONFIG --exists --print-errors " libkmod >= 15 ") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5 + ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags " libkmod >= 15 " 2>/dev/null` + pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags " libkmod >= 14 " 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -16016,12 +16016,12 @@ if test -n "$KMOD_LIBS"; then pkg_cv_KMOD_LIBS="$KMOD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 15 \""; } >&5 - ($PKG_CONFIG --exists --print-errors " libkmod >= 15 ") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5 + ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs " libkmod >= 15 " 2>/dev/null` + pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs " libkmod >= 14 " 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -16042,18 +16042,18 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libkmod >= 15 " 2>&1` + KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libkmod >= 14 " 2>&1` else - KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libkmod >= 15 " 2>&1` + KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libkmod >= 14 " 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$KMOD_PKG_ERRORS" >&5 - as_fn_error $? "*** kmod version >= 15 not found" "$LINENO" 5 + as_fn_error $? "*** kmod version >= 14 not found" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - as_fn_error $? "*** kmod version >= 15 not found" "$LINENO" 5 + as_fn_error $? "*** kmod version >= 14 not found" "$LINENO" 5 else KMOD_CFLAGS=$pkg_cv_KMOD_CFLAGS KMOD_LIBS=$pkg_cv_KMOD_LIBS
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor