On 1/3/06, Kenneth Porter <shiva@xxxxxxxxxxxxxxx> wrote: > 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. If I take a srpm for a kernel for RHEL3 Update 5, modify some rather unimportant stuff in the kernel, make an RPM and install that on RHEL3 Update 1, would that potentially break anything? And I wouldn't have to build a new kernel module RPM? I think I tried doing exactly what you mentioned a couple months ago and the machine wouldn't boot right, as it couldn't find any of the ethernet drivers. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list