src.rpm 커널 컴파일 도움좀 주세요
글쓴이: wire101 / 작성시간: 일, 2005/02/06 - 7:22오전
kernel-2.6.10-1.741_FC3.src.rpm
컴파일 할려고 합니다.
커널 소스 컴파일은 설명들이 많은대
src.rpm 은 설명들이 많이 부족하내요
누구 자세히 갈켜 주실분 없으세요
menuconfig에서 기존의 설정에서
더하고 빼고 해서 다시 컴파일 할려고 합니다.
항상 감사합니다. 꾸~뻑
Forums:
Fedora Core 3 x86 Release Notes에서 발취했어요.
In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel's .src.rpm file, Fedora Core 3 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel .src.rpm file. To create an exploded source tree from this file, perform the following steps (note that <version> refers to the version specification for your currently-running kernel):
1. Obtain the kernel-<version>.src.rpm file from one of the following sources:
* The SRPMS directory on the appropriate "SRPMS" CD iso image
* The FTP site where you got the kernel package
* By running the following command:
up2date --get-source kernel
2. Install kernel-<version>.src.rpm (given the default RPM configuration, the files this package contains will be written to /usr/src/redhat/)
3. Change directory to /usr/src/redhat/SPECS/, and issue the following command:
rpmbuild -bp --target=<arch> kernel.spec
(Where <arch> is the desired target architecture.)
On a default RPM configuration, the kernel tree will be located in /usr/src/redhat/BUILD/.
4. In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory. For example, the i686 SMP configuration file is named /configs/kernel-<version>-i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building:
cp <desired-file> ./.config
5. Issue the following command:
make oldconfig
You can then proceed as usual.
나는 유일한 사람이며, 그 사실은 변하지 않는다.
그리고 모든 것을 할 수는 없어도, 무언가는 할 수 있다.
댓글 달기