66 lines
3.2 KiB
Diff
66 lines
3.2 KiB
Diff
--- 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
|
|
+++ 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
|