mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
systemd: fix path for kmod in service files
The path for kmod used in kmod-static-nodes.service is the one found by the ./configure script, which ends up being the path to the host kmod program. This patch forces the path to the target kmod program. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1612fd39e1
commit
64b38f03a7
@ -50,6 +50,10 @@ SYSTEMD_CONF_OPT += \
|
|||||||
--disable-dbus \
|
--disable-dbus \
|
||||||
--without-python
|
--without-python
|
||||||
|
|
||||||
|
# Override path to kmod, used in kmod-static-nodes.service
|
||||||
|
SYSTEMD_CONF_ENV = \
|
||||||
|
ac_cv_path_KMOD=/usr/bin/kmod
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_COMPAT),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_COMPAT),y)
|
||||||
SYSTEMD_CONF_OPT += --enable-compat-libs
|
SYSTEMD_CONF_OPT += --enable-compat-libs
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user