fix modprobe
This commit is contained in:
parent
c13fce4843
commit
d44cd79a9a
3
generate
3
generate
@ -229,7 +229,8 @@ install_driver() {
|
||||
# strip path and extension
|
||||
driver="${driver##*/}"
|
||||
driver="${driver%%.*}"
|
||||
for driver_dep in $(modprobe -D "$driver" 2> /dev/null | grep -v builtin | cut -d " " -f 2); do
|
||||
# TODO busybox modprobe doesn't support -S option
|
||||
for driver_dep in $(modprobe -S "$kernel" -D "$driver" 2> /dev/null | grep -v builtin | cut -d " " -f 2); do
|
||||
install -Dm644 "$driver_dep" "${wrkdir}${driver_dep}"
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user