Skip to content

Commit

Permalink
kernel_module_loader: Add missing gki directory
Browse files Browse the repository at this point in the history
Change-Id: I63cafb2deaaaec091ee2dff9dfd01aac23e0aade
  • Loading branch information
sekaiacg authored and SIDDK24 committed Jan 30, 2022
1 parent 56787b2 commit 994ae9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel_module_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ bool KernelModuleLoader::Load_Vendor_Modules() {
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);
Expand Down

0 comments on commit 994ae9c

Please sign in to comment.