mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
buildsys: add $PKG_DIR/modprobe.d/ support to scripts/install
This commit is contained in:
parent
89847cc83f
commit
2cb7cd6f2b
@ -213,9 +213,6 @@ makeinstall_init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mkdir -p $INSTALL/etc/modprobe.d
|
|
||||||
cp $PKG_DIR/modprobe.d/*.conf $INSTALL/etc/modprobe.d
|
|
||||||
|
|
||||||
ln -sf /storage/.config/firmware/ $INSTALL/lib/firmware/updates
|
ln -sf /storage/.config/firmware/ $INSTALL/lib/firmware/updates
|
||||||
|
|
||||||
enable_service cpufreq-threshold.service
|
enable_service cpufreq-threshold.service
|
||||||
|
@ -125,6 +125,12 @@ if [ "$TARGET" = target ] ; then
|
|||||||
mkdir -p $INSTALL/usr/share/debugconf
|
mkdir -p $INSTALL/usr/share/debugconf
|
||||||
cp $PKG_DIR/debug.d/*.conf $INSTALL/usr/share/debugconf
|
cp $PKG_DIR/debug.d/*.conf $INSTALL/usr/share/debugconf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d $PKG_DIR/modprobe.d ]; then
|
||||||
|
mkdir -p $INSTALL/etc/modprobe.d
|
||||||
|
cp $PKG_DIR/modprobe.d/*.conf $INSTALL/etc/modprobe.d
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# unset functions
|
# unset functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user