diff options
Diffstat (limited to 'remote/setup_target')
| -rwxr-xr-x | remote/setup_target | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target index 927fde01..42975ef1 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -415,13 +415,16 @@ process_module() { fi # Source .build script of module pdebug "## Reading .build of $MODULE" - read_build + . "${MODE_DIR}/clean_module_funcs.inc" # Clean all hooks, in case the module doesn't define them all + read_build # Read all the hooks from the module # Install module's dependencies pdebug "## Installing dependencies" cd "${MODULE_DIR}" || perror "cd to '${MODULE_DIR}' failed." install_dependencies # update kernel version variables before running a module, as the last one might have been the kernel... get_kernel_version + # Execute load-hook before anything else + module_load # Fetch source code if [ ! -e "$SOURCE_FLAG" ]; then pinfo "## Fetching source" |
