static-nodes: don't call mkdir
This is no longer necessary with kmod-15. Bump the requirement.
This commit is contained in:
parent
ca2f4176fe
commit
a18535d9e1
2
README
2
README
|
@ -95,7 +95,7 @@ REQUIREMENTS:
|
||||||
dbus >= 1.4.0
|
dbus >= 1.4.0
|
||||||
libcap
|
libcap
|
||||||
libblkid >= 2.20 (from util-linux) (optional)
|
libblkid >= 2.20 (from util-linux) (optional)
|
||||||
libkmod >= 14 (optional)
|
libkmod >= 15 (optional)
|
||||||
PAM >= 1.1.2 (optional)
|
PAM >= 1.1.2 (optional)
|
||||||
libcryptsetup (optional)
|
libcryptsetup (optional)
|
||||||
libaudit (optional)
|
libaudit (optional)
|
||||||
|
|
|
@ -269,7 +269,7 @@ AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules s
|
||||||
if test "x$enable_kmod" != "xno"; then
|
if test "x$enable_kmod" != "xno"; then
|
||||||
PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no)
|
PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no)
|
||||||
if test "x$have_kmod" = "xyes"; then
|
if test "x$have_kmod" = "xyes"; then
|
||||||
PKG_CHECK_MODULES(KMOD, [ libkmod >= 14 ],
|
PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ],
|
||||||
[AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])],
|
[AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])],
|
||||||
AC_MSG_ERROR([*** kmod version >= 14 not found]))
|
AC_MSG_ERROR([*** kmod version >= 14 not found]))
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -15,5 +15,4 @@ ConditionPathExists=/lib/modules/%v/modules.devname
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStartPre=@MKDIR_P@ /run/tmpfiles.d
|
|
||||||
ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
|
ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
|
||||||
|
|
Loading…
Reference in New Issue