Subject: | |
From: | |
Reply To: | |
Date: | Mon, 13 Feb 2012 11:02:32 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane [log in to unmask]
Boulder, CO 80301 http://www.cora.nwra.com
|
|
|