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




-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux