1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-04 05:17:40 +03:00

workaorutem ocmmit

This commit is contained in:
Daniel Clavijo Coca 2020-03-09 12:44:49 -06:00
parent 76880aa21d
commit 92dedb9678

View File

@ -384,6 +384,17 @@ def install_dependencies(gems, distro)
STDERR.puts 'Error installing dependencies'
exit(-1)
end
if distro.first == :debian
# on Debian-like platforms, the augeas gem build might fail
# due to incompatible libxml include paths
unless File.exists?('/usr/include/libxml')
require 'fileutils'
FileUtils.ln_s('/usr/include/libxml2/libxml',
'/usr/include/libxml')
end
end
end
end