summaryrefslogtreecommitdiffstats
path: root/remote/includes/kernel.inc
diff options
context:
space:
mode:
authorChristian Rößler2014-02-20 15:41:26 +0100
committerChristian Rößler2014-02-20 15:41:26 +0100
commit0981c3070b1903b799316f5c61567f7c527e3072 (patch)
tree10a17268065767a87605dabce4376997a9c534f9 /remote/includes/kernel.inc
parent[nvidia_libs] Module building libraries for nvidia GPU driver package. (diff)
parentSupport loading selected drm gfx drivers only, based on pci ids (diff)
downloadtm-scripts-0981c3070b1903b799316f5c61567f7c527e3072.tar.gz
tm-scripts-0981c3070b1903b799316f5c61567f7c527e3072.tar.xz
tm-scripts-0981c3070b1903b799316f5c61567f7c527e3072.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/includes/kernel.inc')
-rw-r--r--remote/includes/kernel.inc4
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