SCIENTIFIC-LINUX-DEVEL Archives

July 2011

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steven Haigh <[log in to unmask]>
Reply To:
Steven Haigh <[log in to unmask]>
Date:
Sat, 2 Jul 2011 16:24:50 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
On 2/07/2011 12:26 PM, Teck Choon Giam wrote:
>>
>> Name: kernel-%{pkg_name}
>> Version: %{kvmajor}
>> Release: %{pkg_release}%{?revision}%{?localrel}
>>
>> Your package name is kernel-xen.
>> Your version is 2.6.32
>> Your release is 1%{?revision}%{?localrel}
>
> You need to fix many issues in your spec file.  One of them is the
> %{version} and %{release} as from your spec file you seems to have
> confusion and from that confusion you will have issues with packaging
> your kernel package module.  Personally I will not include arch in
> that and why you do so?  I mean %define KRELEASE
> %{pkg_name}-%{version}-%{release}.%{_target_cpu} ... why use
> %{_target_cpu} here?

Thanks for the pointers on this. I went through everything with a fine 
tooth comb and I've managed to get a kernel RPM to build, install 
correctly, and I'm just about to reboot and test it (once the backup is 
complete!)

Hopefully, I should have a working SL6 Xen Dom0 kernel built from 
2.6.32.41 & Xen 4.1.1 available for testing (x86_64 only at this stage)

-- 
Steven Haigh

Email: [log in to unmask]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

ATOM RSS1 RSS2