From 5dad922075f1b3680245e19b7ebef303e1c13c47 Mon Sep 17 00:00:00 2001 From: Sebastian Knapp Date: Mon, 9 May 2005 13:47:16 +0000 Subject: [PATCH] Sebastian Knapp: change _ to - for System.map klogd needs this to find the right file when System.map matchs not the running kernel [2005040621501703686] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5935 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/cron/00-updates | 2 +- package/base/linux/linux.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base/cron/00-updates b/package/base/cron/00-updates index bf1d21e64..f8aab54ee 100644 --- a/package/base/cron/00-updates +++ b/package/base/cron/00-updates @@ -26,7 +26,7 @@ exec 2>&1 kver=$(uname -r) echo "Running depmod ($kver) ..." -depmod -a -F /boot/System.map_$kver $kver +depmod -a -F /boot/System.map-$kver $kver echo "Running ldconfig ..." ldconfig diff --git a/package/base/linux/linux.conf b/package/base/linux/linux.conf index 4b56901f5..857f48dad 100644 --- a/package/base/linux/linux.conf +++ b/package/base/linux/linux.conf @@ -480,7 +480,7 @@ main_lx() { ;; esac cp -vf .config $root/boot/kconfig_${lx_kernelrelease} - cp -vf System.map $root/boot/System.map_${lx_kernelrelease} + cp -vf System.map $root/boot/System.map-${lx_kernelrelease} [ "$default" ] && cp -vf System.map $root/boot/System.map echo "Building the modules ..." @@ -492,7 +492,7 @@ main_lx() { else eval $MAKE modules_install DEPMOD=/bin/true echo "Running 'depmod -a -q -F /boot/System.map ${lx_kernelrelease}' .." - depmod -a -q -F /boot/System.map_${lx_kernelrelease} ${lx_kernelrelease} + depmod -a -q -F /boot/System.map-${lx_kernelrelease} ${lx_kernelrelease} for x in /lib/modules/${lx_kernelrelease}/modules.* do [ -f $x ] && add_flist $x; done fi