1 |
Michael W. Holdeman a écrit : |
2 |
> Is this new, don't remember ever doing it before.. |
3 |
|
4 |
Yes. |
5 |
|
6 |
With older baselayout [1], the System.map file wasn't required : |
7 |
[code] |
8 |
if [ -f /usr/src/linux/System.map ]; then |
9 |
depmod -a -F /usr/src/linux/System.map ${KV} |
10 |
else |
11 |
depmod -a ${KV} |
12 |
fi |
13 |
[/code] |
14 |
|
15 |
One day, the code evolved to : |
16 |
[code] |
17 |
if [ -f /usr/src/linux/System.map ]; then |
18 |
depmod -a -F /usr/src/linux/System.map ${KV} |
19 |
else |
20 |
ewarn "System.map not found - unable to check symbols" |
21 |
fi |
22 |
[/code] |
23 |
|
24 |
So, developpers decided to search the System.map file in different |
25 |
paths, but if your /boot and /usr directories are mounted on partitions, |
26 |
you must copy the file in /, because modules-update is ran before |
27 |
mounting partitions. |
28 |
|
29 |
[1] - http://forums.gentoo.org/viewtopic-p-3038067.html#3038067 |
30 |
-- |
31 |
gentoo-user@g.o mailing list |