[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

More strangeness kernel-2.6.12-1.1372_FC3 update



I installed the latest FC3 kernel update, but I'm seeing:

[root media ~]# ls -ltr /lib/modules/2.6.12-1.1372_FC3/
total 924
lrwxrwxrwx  1 root root     49 Jul 20 16:35 build ->
../../../usr/src/kernels/2.6.12-1.1372_FC3-x86_64
lrwxrwxrwx  1 root root      5 Jul 20 16:35 source -> build
drwxr-xr-x  9 root root   4096 Jul 20 16:35 kernel
-rw-r--r--  1 root root 268793 Jul 20 16:35 modules.usbmap
-rw-r--r--  1 root root  84243 Jul 20 16:35 modules.symbols
-rw-r--r--  1 root root 163080 Jul 20 16:35 modules.pcimap
-rw-r--r--  1 root root   2237 Jul 20 16:35 modules.isapnpmap
-rw-r--r--  1 root root    357 Jul 20 16:35 modules.inputmap
-rw-r--r--  1 root root    813 Jul 20 16:35 modules.ieee1394map
-rw-r--r--  1 root root 193484 Jul 20 16:35 modules.dep
-rw-r--r--  1 root root     69 Jul 20 16:35 modules.ccwmap
-rw-r--r--  1 root root 184451 Jul 20 16:35 modules.alias
[root media ~]#

i.e.  "build" should have been copied out as a deep copy, rather than
a shallow copy in the packaging.

On a semi-related note, I found that if you do:

cd /usr/src/redhat/SPECS
rpmbuild -bc --target x86_64 --buildroot /usr/src kernel-2.6.spec

after installing the kernel source RPM, then some very bad things happen.

It tries to do an "rm -rf *" inside /usr/src.  Ouch.  That's not right!

What's the standard way to get the source RPM to unpack into
/usr/src/kernels
and build in there?

-Philip



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]