[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



"Daniel P. Berrange" <berrange 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]