From 9beed958f7112c2876cab55a69bea2db8cf07dfd Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Mon, 20 Sep 2021 06:46:02 +0300 Subject: veux: remove module loading from 5.4 gki directory Change-Id: I591b4ae4bc0adaa5f57e19ccb5d06dd5f1a42fcd --- rootdir/bin/vendor_modprobe.sh | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'rootdir/bin') diff --git a/rootdir/bin/vendor_modprobe.sh b/rootdir/bin/vendor_modprobe.sh index cb54050..8f2da1f 100755 --- a/rootdir/bin/vendor_modprobe.sh +++ b/rootdir/bin/vendor_modprobe.sh @@ -5,30 +5,11 @@ # Confidential and Proprietary - Qualcomm Technologies, Inc. #============================================================================= -#default to /vendor/lib/modules MODULES_PATH="/vendor/lib/modules/" -GKI_MOD_PATH="/vendor/lib/modules/5.4-gki" MODPROBE="/vendor/bin/modprobe" MODULES=`${MODPROBE} -d ${MODULES_PATH} -l` -# Find the first non-blacklisted module and try -# inserting it. If insertion fails the module is not -# compatible with the current kernel. Change the modules -# directory to gki. -for MODULE in ${MODULES}; do - cat ${MODULES_PATH}/modules.blocklist | grep $MODULE - if [ $? -ne 0 ]; then - break - fi -done - -${MODPROBE} -a -b -d ${MODULES_PATH} ${MODULE} -if [ $? -ne 0 ];then - MODULES_PATH=$GKI_MOD_PATH - MODULES=`${MODPROBE} -d ${MODULES_PATH} -l` -fi - # Iterate over module list and modprobe them in background. for MODULE in ${MODULES}; do ${MODPROBE} -a -b -d ${MODULES_PATH} ${MODULE} & -- cgit v1.2.3