Re: How to compile a soft same as the version realeased by fedora?

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

 



On 03/19/2011 03:36 PM, stan wrote:
> On Sat, 19 Mar 2011 14:42:20 -0700
> JD<jd1008@xxxxxxxxx>  wrote:
>
>>> The -bp flag just unpacks the source so it can be examined or
>>> patches can be created.
>> Well, actually, -bp is for "prep"ing the source tree for compilation.
>> -bp will APPLY the patches (if they exist and are called for in the
>> spec file), rather than create them.
>>
> What you say is true, but it also can be used to *create* new patches
> if that is your inclination.  The fedora wiki page for compiling a
> custom kernel has instructions on how to do this for the kernel.
> Obviously, the same general procedure can be used for any src.rpm.  It
> requires modification of the spec file as well, and the patches have to
> be moved into the SOURCE directory.
>
> I know this works because I patch the kernel using that procedure, and
> it then creates RPMs with those patches in place.
OK! I have not tried to create patches using this method,
but will try it.
>    The 2.6.35 kernel
> source no longer compiles with SMP turned off unless it is patched and
> I experience lockups on my single core CPU unless I turn SMP off.
Very interesting.
I have been building all my kernels with SMP disabled.
To wit, Here are the relevant config options in my
.config file for 2.6.38 (Mainline kernel), which I am
now running:
#
# Automatically generated make config: don't edit
# Linux/i386 2.6.38.0-1 Kernel Configuration
# Wed Mar 16 23:19:36 2011
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
.
.
.
#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
.
.
.
# CONFIG_SMP is not set

Cheers,

JD
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux