Re: Kernel compilation from src.rpm

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

 



On Mon, 2006-01-30 at 13:35 -0500, Stephane Gaucher wrote:
> Is it possible to re-compile the exact kernel from the
> kernel-xyz.src.rpm !?! 

Yes, you could do it as root in /usr/src/redhat/ or as a regular user by
putting the following in your ~/.rpmmacros.

	# ~/.rpmmacros
	%packager %(echo "$USER")
	%_topdir %(echo "$HOME")/rpmbuild

Then create the directories that rpmbuild needs.

	mkdir ~/rpmbuild 
	mkdir ~/rpmbuild/SOURCES 
	mkdir ~/rpmbuild/RPMS 
	mkdir ~/rpmbuild/BUILD 
	mkdir ~/rpmbuild/SRPMS

Then rebuild the kernel.

	rpmbuild --rebuild kernel-xyz.src.rpm

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]