buildsys: add $PKG_DIR/modprobe.d/ support to scripts/install

This commit is contained in:
Stephan Raue 2014-10-13 14:05:07 +03:00
parent 89847cc83f
commit 2cb7cd6f2b
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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