Re: How to reinstall kernel source tree

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

 



On Wed, May 07, 2003 at 12:02:42AM -0400, Hong Hsu wrote:
> #rpm -ivh  --force  kernel-2.4.18-3.src.rpm
> #rpm -qi   kernel-2.4.18-3
> The Install date was 12/16/2002.  It didn't updated!

Well, no, it won't. You just forced the install of a src.rpm. That just
gets unpacked in /usr/src/redhat/ or whatever you've set your  %_topdir
to in your ~/.rpmmacros file.

Installing .src.rpm packages will _not_ effect the machine's RPM
database. It only effects files in the filesystem, wherever you've set
it to unpack them.

Be careful -- there are also kernel-source _binary_ RPMs, that contain
something a little more in line for users to manipulate for their own
personal use. (It won't build ~14 flavours of kernels..)

> #cd   /usr/src/linux-2.4.18-3

You should run "make mrproper" before copying the config file over. At
least Red Hat's kernel-source rpms need this step. (The kernel .src.rpms
are built through an entirely different mechanism, so you won't need to
touch any of this stuff. :)

> #cp  configs/kernel-2.4.18-3-athlon.config  ../.config
> #make  dep

-- 
People who separate manpages from the programs
they document would steal sheep.  -- apologies to Goudy

Attachment: pgp00395.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux