mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-23 17:32:09 -09:00
package/network-manager: set modprobe path to /sbin/modprobe
With -Dmodprobe left empty, meson setup searches /sbin and /usr/sbin
on the host, and if it finds modprobe bakes the path into
MODPROBE_PATH, which may be different from the install path on the
target.
Pass -Dmodprobe=/sbin/modprobe: both busybox's and kmod's modprobe
resolve there; a missing modprobe only costs an error log at runtime.
Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
[Fiona: clarify that only /sbin and /usr/sbin are searched, not $PATH]
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
(cherry picked from commit dbb77fc03f)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
dc8e76474f
commit
902f6c9f37
@@ -31,6 +31,7 @@ NETWORK_MANAGER_CONF_OPTS = \
|
||||
-Dqt=false \
|
||||
-Diptables=/usr/sbin/iptables \
|
||||
-Dip6tables=/usr/sbin/ip6tables \
|
||||
-Dmodprobe=/sbin/modprobe \
|
||||
-Difupdown=false \
|
||||
-Dnm_cloud_setup=false \
|
||||
-Dsession_tracking_consolekit=false
|
||||
|
||||
Reference in New Issue
Block a user