mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-20 07:41:47 -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>
This commit is contained in:
committed by
Fiona Klute
parent
07518e6b69
commit
dbb77fc03f
@@ -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