[CentOS] kernel.org kernel in CentOS respin.

Steve Clark sclark at netwolves.com
Tue Oct 5 07:36:40 EDT 2010


On 10/05/2010 05:30 AM, John Doe wrote:
> From: Steve Clark<sclark at netwolves.com>
>    
>> I found these wonderful instruction by Alan Bartlett (thanks Alan) for building
>>      
>    
>> a kernel.org kernel
>> that would install on CentOS 5.5. Doing this and moving the resulting .rpm
>> to the target system and doing a rpm -ivh ... works great.
>> Now I am trying to use the same rpm as part of a CentOS respin and
>> the installation fails miserably leaving me with a unbootable system.
>> Using the rescue option I see the following in my install log.
>> Installing kernel-2.6.32.23-1.i386
>> /var/tmp/rpm-tmp.24949: line 1: uname: command not found
>> /var/tmp/rpm-tmp.24949: line 1: uname: command not found
>> /var/tmp/rpm-tmp.24949: line 1: [: too many arguments
>> /var/tmp/rpm-tmp.24949: line 6: /sbin/new-kernel-pkg: No such file or directory
>> error: %post(kernel-2.6.32.23-1.i386) scriptlet failed, exit status 127
>> Does someone have instructions for building a kernel.org kernel that
>> will install like the standard CentOS kernels?
>>      
> The error messages don't seem to be "kernel related errors"...
> the script needs uname but cannot find it...
>
> JD
>
>    
Thanks,

I realize that uname is missing as well as /sbin/new-kernel-pkg. That is why
I was asking if someone has a "recipe" for building a kernel from 
"kernel.org" that
will install correctly from a respin.


-- 
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
www.netwolves.com



More information about the CentOS mailing list