kernel_module_loader: Add missing gki directory
Change-Id: I63cafb2deaaaec091ee2dff9dfd01aac23e0aade
(cherry picked from commit 2679fb8acd62537e03c0382c500f08fe17c0e8bd)
diff --git a/kernel_module_loader.cpp b/kernel_module_loader.cpp
index 9ab0153..a78e54b 100644
--- a/kernel_module_loader.cpp
+++ b/kernel_module_loader.cpp
@@ -34,6 +34,9 @@
std::vector<std::string> release = TWFunc::split_string(rls, '.', true);
int expected_module_count = kernel_modules_requested.size();
module_dirs.push_back(base_dir + "/" + release[0] + "." + release[1]);
+ std::string gki = "/" + release[0] + "." + release[1] + "-gki";
+ module_dirs.push_back(base_dir + gki);
+ vendor_module_dirs.push_back(vendor_base_dir + gki);
for (auto&& module_dir:module_dirs) {
modules_loaded += Try_And_Load_Modules(module_dir, false);