Problems making personalized kernel

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

 



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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux