diff options
| author | Simon Rettberg | 2014-02-24 16:53:15 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2014-02-24 16:53:15 +0100 |
| commit | 18f8589d166fff3abf04b980c36ea6af1c92829e (patch) | |
| tree | ed0e79cc3be383ceab5bfb19641233ccee9d19c7 /remote/includes/kernel.inc | |
| parent | [rfs-stage31] Fix prompt of drop_shell call (diff) | |
| parent | [rfs-stage32] setup-slx-addons: Fix slxlog call when aufs fails, add -o ro to... (diff) | |
| download | tm-scripts-18f8589d166fff3abf04b980c36ea6af1c92829e.tar.gz tm-scripts-18f8589d166fff3abf04b980c36ea6af1c92829e.tar.xz tm-scripts-18f8589d166fff3abf04b980c36ea6af1c92829e.zip | |
Merge branch 'master' of dnbd3:openslx-ng/tm-scripts
Diffstat (limited to 'remote/includes/kernel.inc')
| -rw-r--r-- | remote/includes/kernel.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/includes/kernel.inc b/remote/includes/kernel.inc index ccd10970..4eef36e5 100644 --- a/remote/includes/kernel.inc +++ b/remote/includes/kernel.inc @@ -99,8 +99,8 @@ copy_kernel_modules() { # generate modules map files # # first strip modules.order of all the modules we don't use - cat "${KERNEL_MODULES_DIR}/modules.order" | grep -E $(echo ${REQUIRED_KERNEL_MODULES} | tr '\ ' '|') \ - >> "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}/modules.order" + cat "${KERNEL_MODULES_DIR}/modules.order" | grep -E "$(echo ${REQUIRED_KERNEL_MODULES} | tr '\ ' '|' | tr '_' '.' | tr '-' '.')" \ + >> "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}/modules.order" # copy list of builtin kernel modules cp "${KERNEL_MODULES_DIR}/modules.builtin" "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}" # with modules.order and modules.builtin, we can run depmod for the rest of the files |
