Skip to content

XceptN’s Tech Stuff

All About Tech

Building kernel source tree from *.src.rpm

Posted on September 15, 2008 By XceptN No Comments on Building kernel source tree from *.src.rpm

kernel-source package provides patch applied source code:

rpm2cpio kernel-source-2.4.21-27.0.2.1.7.EL.i386.rpm | cpio -idmv

The src rpm does provide the base source and patches:
rpm -i kernel-2.4.21-27.0.2.1.7.EL.src.rpm
/>> This installs the base kernel and the *.patch separately
cd /usr/src/redhat/SPECS/
rpmbuild -bp kernel-2.4.ora-27.1.7.EL.spec

If Architecture is not included: i386
rpmbuild -bp –target i686 kernel-2.4.ora-27.1.7.EL.spec

/>> This installs the patches and provides the actual kernel tree
cd ../BUILD/kernel-2.4.21/linux-2.4.21

kernel, linux

Post navigation

Previous Post: ALSA and Intel HDA
Next Post: backup the mbr

Related Posts

Cisco VPN Client 4.8 and Recent Linux Kernel Versions internet
Where is the application menu files on EL desktop
Darn! Scanned Document into PDF but Need to Rotate desktop
Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux desktop
xulrunner and firefox desktop
Linux NIC bonding: active-backup v.s. broadcast linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark