misc: Specific mkosi fixes for centos-7
Seems we need golang from epel, to mask out the old git version, and to workaround mkosi bugs.
This commit is contained in:
@@ -76,7 +76,7 @@ fi
|
||||
if [ $travis -eq 0 ]; then
|
||||
if [ ! -z "$YUM" ]; then
|
||||
if [ -z "$GO" ]; then
|
||||
$sudo_command $YUM install -y golang golang-googlecode-tools-stringer
|
||||
$sudo_command $YUM install -y golang golang-googlecode-tools-stringer || $sudo_command $YUM install -y golang-bin # centos-7 epel
|
||||
fi
|
||||
# some go dependencies are stored in mercurial
|
||||
$sudo_command $YUM install -y hg
|
||||
|
||||
Reference in New Issue
Block a user