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

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



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

Daniel

diff --git a/common-pkgs.ks b/common-pkgs.ks
index 70707fc..2c3d56a 100644
--- a/common-pkgs.ks
+++ b/common-pkgs.ks
@@ -28,6 +28,10 @@ bind-utils
 syslinux
 cronie
 hal
+# Stupid yum dep solver pulls in older 'qemu' to resolve
+# /usr/bin/qemu-img dep. This forces it to pick the new
+# qemu-img RPM. 
+qemu-img
 ovirt-node
 -policycoreutils
 -audit-libs-python


-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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