Problems making personalized kernel

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

 



Hi, I fw some questions about making personal kernel.

Please, help.



---------------------------- Mensaje original ----------------------------
Asunto: Problems making personalized kernel
De:     Samuel Díaz García <samueldg@xxxxxxxxxxxx>
Fecha:  Jue, 25 de Mayo de 2006, 13:25
Para:   fedora-list@xxxxxxxxxx
Cc:     fedora-devel-list@xxxxxxxxxx
--------------------------------------------------------------------------

Hi, I'm trying to prepare a customized kernel with some patches, using the
sources from fc5.

I'm preparing scripts to allow me download, prepare sources, add the
patches, and make package.

Download, insall src.rpm and put the patches into SOURCES and patch .spec
fine.

The problem is into "make ARCH=i686 nonint_oldconfig" step.

This is the error when run this:

rpmbuild -bp --target i686 SPECS/kernel-2.6_AC.spec

The error is:

.config:2966:warning: trying to reassign symbol AGP_AMD64
.config:2967:warning: trying to reassign symbol AGP_NVIDIA
.config:2968:warning: trying to reassign symbol AGP_SWORKS
CONFIG_IP_NF_MATCH_LAYER7
CONFIG_IP_NF_TARGET_IMQ
CONFIG_IP6_NF_TARGET_IMQ
CONFIG_IMQ
make[1]: *** [nonint_oldconfig] Error 4
make: *** [nonint_oldconfig] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.11881 (%prep)

Obviously, the patches add some new kernel options and "nonint_oldconfig"
breaks rpmbuild process.

I tried "make menuconfig" moving the apropiate *.config into .config and
manually activate this new options.

My idea is create a script that allow me automatically:
  1) patch a new fedora kernel sources with some patches
  2) don't breaks the standard .spec file
  3) allow me patch it
  4) upgrade all architectures .config with new default options
  5) make kernel rpm's for various architectures

I'm now in step 3, I need help in steps 4 and 5.

Any help?

Thanks

P.D.: Sorry for my english.

-- 
Samuel Díaz García
ArcosCom Wireless, S.L.L.

CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz

http://www.arcoscom.com

mailto:samueldg@xxxxxxxxxxxx
msn: samueldg@xxxxxxxxxxxx

Tlfn.: 956 70 13 15
Fax:   956 70 34 83





-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux