[Ovirt-devel] PATCH: Remove qemu from node image

Jim Meyering jim at meyering.net
Wed Sep 17 14:50:17 UTC 2008

"Daniel P. Berrange" <berrange at redhat.com> wrote:
> On Wed, Sep 17, 2008 at 12:49:41PM +0100, Daniel P. Berrange wrote:
>> The YUM dep solver for file deps is utterly stupid, and pulls in the older
>> 'qemu' RPM when resolving /usr/bin/qemu-img, instead of the newer qemu-img
>> sub-RPM. Even if you explicitly have -qemu in the kickstart filelist.
>> While we could just remove qemu in the %post script, this relies on yum
>> having installed qemu-img too - this happens to be the case by luck, but
>> we shouldn't rely on it.
>> The best workaround is to explicitly request  'qemu-img' in the kickstart
>> so it never has to go off and dep-solve for /usr/bin/qemu-img
> Here's an updated one, which also removes the redundant calls to
> erase qemu - which never worked anyway.

Thanks, Dan.
I'd already removed qemu via rpm -e --nodeps, but
backed out that bit and have been using your patch instead --
to test my SELinux-adding changes.  So I'll push this along
with the SELinux-adding ones, pending review.

More information about the ovirt-devel mailing list