[jenkins-ci PATCH 1/6] guests: Fix FreeBSD symlink kludge

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

 



The version check was not written in a future-proof manner,
as all versions of FreeBSD after 10 need the kludge.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 guests/playbooks/update/tasks/kludges.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guests/playbooks/update/tasks/kludges.yml b/guests/playbooks/update/tasks/kludges.yml
index 0ad61a7..f9127ac 100644
--- a/guests/playbooks/update/tasks/kludges.yml
+++ b/guests/playbooks/update/tasks/kludges.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 should skip it on FreeBSD 10 because it
+# shipped (an old version of) readline in the base system
 - name: Create compatibility symlinks
   file:
     src: '/usr/local/{{ item }}'
@@ -28,7 +28,7 @@
     - lib/libreadline.so
   when:
     - os_name == 'FreeBSD'
-    - os_version == '11'
+    - os_version != '10'
 
 # FreeBSD compiles bash without defining SSH_SOURCE_BASHRC, which means
 # it won't try to detect when it's spawned by ssh and source ~/.bashrc
-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux