[ovs-dev] [PATCH] xenserver: Split kernel/userspace into separate RPMs for supplemental packs.

Ben Pfaff blp at nicira.com
Fri Feb 18 19:18:03 UTC 2011


On Wed, Feb 16, 2011 at 10:57:46PM -0800, Andrew Evans wrote:
> XenServer has the concept of a "supplemental pack", which is just a collection
> of RPMs rolled into an ISO image for installation as a unit, either during
> XenServer installation or later as an update.
> 
> The script used to build supplemental packs requires that a single RPM not mix
> kernel and userspace components. It also enforces a particular naming scheme
> for kernel module RPMs. This commit modifies the OVS RPM spec file to create
> separate RPMs in accordance with these conventions.
> 
> We had intended to make the userspace RPM depend upon the kernel RPM to ensure
> that a compatible kernel module is installed, but that turns out to be
> impractical since the kernel module package name includes the full kernel
> version string it was built against. That would require needless rebuilding and
> upgrading of the userspace RPM when kernel updates are built and installed.

This is a simpler change than I expected.  It looks good.

I think that the userspace package could (and should) require the
kernel package to be installed by putting an appropriate "Provides:"
into the kernel package name.  No?




More information about the dev mailing list