All of lore.kernel.org
 help / color / mirror / Atom feed
* Query about custom fedora build process
@ 2011-09-07 22:16 Vaibhav Jain
  2011-09-08 16:00 ` Kai Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Vaibhav Jain @ 2011-09-07 22:16 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am trying to build a custom fedora kernel on a fedora (FC15) machine by
reading the
article: http://fedoraproject.org/wiki/Building_a_custom_kernel
but  i am unable to make any progress as my changes are not getting
reflected.
So I have query about the procedure given in the article. The article asks
to first create
hardliks between files in .new and .orig directories and then to make
changes and to .new directory and to
generate a patch by a diff between the .orig and .new directories. But I am
just wondering if the
files in both the directories are hardlinks then how can diff work because
after changing a file in .new directory
the file in .orig directory should also change.

cp -r ~/rpmbuild/BUILD/kernel-2.6.$ver.$fedver/linux-2.6.$ver.$arch
~/rpmbuild/BUILD/kernel-2.6.$ver$fedver.orig
cp -al ~/rpmbuild/BUILD/kernel-2.6.$ver.$fedver.orig
~/rpmbuild/BUILD/kernel-2.6.$ver.$fedver.new

cd ~/rpmbuild/BUILD
diff -uNrp kernel-2.6.$ver.$fedver.orig kernel-2.6.$ver.$fedver.new >
../SOURCES/linux-2.6-my-new-patch.patch



Thanks
Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110907/727beafe/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-08 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 22:16 Query about custom fedora build process Vaibhav Jain
2011-09-08 16:00 ` Kai Meyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.