Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm
Hi,
I downloaded a RedHat kernel.<xx>.src.rpm and want to create the /usr/src/linux.<xx> from that rpm. So I tried rpm -i kernel.<xx>.src.rpm but this puts some stuff in /usr/src/redhat/SPECS and /usr/src/redhat/SOURCES. So from there I tried to do a rpmbuild -bs kernel.<xx>.spec. Somehow I can't get the source under the /usr/src tree. I see it in the rpmbuild output, but at the end it gets rmeoved I guess. Why? (I did end up with the new kernel in /boot) How do I get a source tree under /user/src for this new kernel so I can do the compile myself? What am I missing??? Jan :newbie: |
you're not missing anything.... just move the source there. you don't want to be building the rpm or anything as you WANT the source code...
easiest way is to just link the directory to /usr/src: ln -s /usr/src/redhat/SOURCES/linux-2.4.20 /usr/src etc... |
Thanks...
I copied the sorce tree from the /usr/src/redhat/BUILD directory. That worked... jan |
All times are GMT -5. The time now is 02:26 AM. |