mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
buildsys: add $PKG_DIR/modprobe.d/ support to scripts/install
This commit is contained in:
@@ -213,9 +213,6 @@ makeinstall_init() {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
enable_service cpufreq-threshold.service
|
||||
|
||||
@@ -125,6 +125,12 @@ if [ "$TARGET" = target ] ; then
|
||||
mkdir -p $INSTALL/usr/share/debugconf
|
||||
cp $PKG_DIR/debug.d/*.conf $INSTALL/usr/share/debugconf
|
||||
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
|
||||
|
||||
# unset functions
|
||||
|
||||
Reference in New Issue
Block a user