[libvirt] [jenkins-ci PATCH] guests: Enable readline compat on FreeBSD CURRENT

Andrea Bolognani abologna at redhat.com
Mon Jan 15 13:30:44 UTC 2018


FreeBSD 10 is the only version *not* to need the compat hack,
so special-case it instead of the other way around.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/tasks/compat.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guests/tasks/compat.yml b/guests/tasks/compat.yml
index 001b5c6..d48834b 100644
--- a/guests/tasks/compat.yml
+++ b/guests/tasks/compat.yml
@@ -15,8 +15,8 @@
   when:
     - os_name == 'FreeBSD'
 
-# Same as above, except we only need to do it on FreeBSD 11 because
-# FreeBSD 10 shipped (an old version of) readline in the base system
+# Same as above, except we only need to do it on FreeBSD 11 and later
+# because FreeBSD 10 shipped (an old version of) readline in the base system
 - name: Create compatibility symlinks
   file:
     src: '/usr/local/{{ item }}'
@@ -28,4 +28,4 @@
     - lib/libreadline.so
   when:
     - os_name == 'FreeBSD'
-    - os_version == '11'
+    - os_version != '10'
-- 
2.14.3




More information about the libvir-list mailing list