Re: RPM that installs a slightly modified Redhat kernel

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

 



On Tuesday, January 03, 2006 3:21 PM -0500 James Olin Oden <james.oden@xxxxxxxxx> wrote:

Start with the kernel srpm.  Do a:

   rpmbuild -bp kernel-*.src.rpm

Replacing * with the approriate version and release.   Then go into
the directory where the kernel was extracted and generate your patch.

The trick here is to remember to extract the BUILD directory once with the above command, rename that directory (I add "-original" to the end), then extract a 2nd copy, and make the changes to that. This makes it easy to extract the diff.

With the latest Fedora kernel SRPM's the first run of the prep step will make a copy of the mint files to a "vanilla" directory, and if you do a subsequent prep, it just copies the files from the vanilla directory instead of extracting and patching from the SOURCES directory. So you can use the vanilla directory as the baseline to create your patch from.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux