Subject: | |
From: | |
Reply To: | |
Date: | Tue, 14 Feb 2012 09:38:08 +1100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 14/02/2012 5:02 AM, Orion Poplawski wrote:
> On 02/11/2012 07:06 PM, Steven Haigh wrote:
>> Hi all,
>>
>> I build a repo with Xen and a EL6 kernel for a Xen Dom0 and I'm hoping
>> to pick
>> the brain of a few gurus here on sorting a few things out that I've
>> broken.
>>
>> Until now, I've been packaging in a repo file in a kernel-xen package
>> which
>> goes in /etc/yum.repos.d/. Due to a lot of changes in mirrors etc, I've
>> decided to split this out into a seperate package called
>> kernel-xen-release.
>>
>> My problem now is trying to figure out how to handle upgrades between:
>> kernel-xen-2.6.32.55-3.x86_64 to kernel-xen-2.6.32.55-4.x86_64
>>
>> -3 has the file /etc/yum.repos.d/kernel-xen.repo, -4 does not.
>>
>> Now I've made kernel-xen have kernel-xen-release as a Requires: in the
>> kernel-xen spec - however when you try to upgrade, yum wants to install
>> kernel-xen-release BEFORE upgrading to -4 - causing a conflict on
>> /etc/yum.repos.d/kernel-xen.repo
>>
>> Now, I tried adding a Conflicts in kernel-xen-release as such:
>> Conflicts: kernel-xen < 2.6.32.55-4
>
> Normally one would do an Obsoletes: kernel-xen < 2.6.32.55-4. Might be
> funny if you are needed multiple kernels installed.
I did think of that, but I have no idea how it would be handled in the
case of kernel RPMs where you need to allow multiple installs!
--
Steven Haigh
Email: [log in to unmask]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
|
|
|