diff options
| author | Simon Rettberg | 2013-04-04 15:10:30 +0200 |
|---|---|---|
| committer | sr | 2013-04-12 19:11:40 +0200 |
| commit | 3ac208d35f3b049568c41e6022d7244ca7edac05 (patch) | |
| tree | 4fc09e4599f24d3e21a6fc18e44f74c76568255e | |
| parent | kdmrc, dont use broken scripts / debug-shell now /bin/sh (diff) | |
| download | tm-scripts-3ac208d35f3b049568c41e6022d7244ca7edac05.tar.gz tm-scripts-3ac208d35f3b049568c41e6022d7244ca7edac05.tar.xz tm-scripts-3ac208d35f3b049568c41e6022d7244ca7edac05.zip | |
Fix copy_kernel_modules (var name)
| -rw-r--r-- | helper/kernel.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helper/kernel.inc b/helper/kernel.inc index 4216f25a..12e99d31 100644 --- a/helper/kernel.inc +++ b/helper/kernel.inc @@ -49,6 +49,7 @@ copy_kernel_modules() { # process modules list # mount_kernel_dir + mkdir -p "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}" cd "$KERNEL_NFS_DIR/$SELECTED_KERNEL" || perror "Could not cd to $KERNEL_NFS_DIR/$SELECTED_KERNEL" local KERNEL_MODULES_DIR="lib/modules/${KERNEL_VERSION}" local KERNEL_MODULES_LIST="" @@ -58,7 +59,7 @@ copy_kernel_modules() { pdebug "Already built-in ${KERNEL_MODULE}." elif [ -e "${KERNEL_MODULE_PATH}" ]; then pdebug "Copying '${KERNEL_MODULE_PATH}'" - MODULES_LIST+=" ${KERNEL_MODULE_PATH}" + KERNEL_MODULES_LIST+=" ${KERNEL_MODULE_PATH}" else pwarning "Module ${KERNEL_MODULE} not found. Skipping. (might cause problems on certain clients!)" continue @@ -93,6 +94,7 @@ copy_firmware() { # process firmware list # mount_kernel_dir + "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}" cd "$KERNEL_NFS_DIR/$SELECTED_KERNEL" || perror "Could not cd to $KERNEL_NFS_DIR/$SELECTED_KERNEL" local FIRMWARE_DIR="lib/firmware" local FIRMWARE_LIST="" |
