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

[Libguestfs] [PATCH 8/8] Update selinux-policy-targeted on RHEL 5 guests if required



---
 v2v/virt-v2v.conf |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/v2v/virt-v2v.conf b/v2v/virt-v2v.conf
index fa2293e..9fbb1cc 100644
--- a/v2v/virt-v2v.conf
+++ b/v2v/virt-v2v.conf
@@ -40,6 +40,8 @@
   <capability os='linux' distro='rhel' major='5' name='virtio'>
     <dep name='kernel' minversion='2.6.18-128.el5'/>
     <dep name='lvm2' minversion='2.02.40-6.el5'/>
+    <dep name='selinux-policy-targeted' minversion='2.4.6-203.el5'
+         ifinstalled='yes'/>
   </capability>
 
   <capability os='linux' distro='rhel' major='4' name='virtio'>
@@ -105,6 +107,13 @@
   <app os='linux' distro='rhel' major='5' arch='i386' name='device-mapper-event'>
     <path>rhel/5/device-mapper-event-1.02.28-2.el5.i386.rpm</path>
   </app>
+  <app os='linux' distro='rhel' major='5' name='selinux-policy-targeted'>
+    <path>rhel/5/selinux-policy-targeted-2.4.6-203.el5.noarch.rpm</path>
+    <dep>selinux-policy</dep>
+  </app>
+  <app os='linux' distro='rhel' major='5' name='selinux-policy'>
+    <path>rhel/5/selinux-policy-2.4.6-203.el5.noarch.rpm</path>
+  </app>
 
   <!-- RHEL 4
        All of these RPMs are from RHEL 4.8, which was the first version of RHEL
-- 
1.6.6.1


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