summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/fedora_packaging.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-07-02 11:55:38 -0400
committerChris Evich <cevich@redhat.com>2020-07-22 11:51:32 -0400
commit18a1514139f3028130a58e64f358ae4dfde9ec6c (patch)
treeff673fbc936411ab6751933cf312185fd7b644e0 /contrib/cirrus/packer/fedora_packaging.sh
parent80add2902cf3561d2c9f91dc045076519cd297d5 (diff)
downloadpodman-18a1514139f3028130a58e64f358ae4dfde9ec6c.tar.gz
podman-18a1514139f3028130a58e64f358ae4dfde9ec6c.tar.bz2
podman-18a1514139f3028130a58e64f358ae4dfde9ec6c.zip
Cirrus: Ensure GOPATH is properly set during image-builds
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/fedora_packaging.sh')
-rw-r--r--contrib/cirrus/packer/fedora_packaging.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/cirrus/packer/fedora_packaging.sh b/contrib/cirrus/packer/fedora_packaging.sh
index aecaaef93..c5dd90133 100644
--- a/contrib/cirrus/packer/fedora_packaging.sh
+++ b/contrib/cirrus/packer/fedora_packaging.sh
@@ -168,5 +168,9 @@ fi
echo "Installing runtime tooling"
# Save some runtime by having these already available
cd $GOSRC
+# Required since initially go was not installed
+source $GOSRC/$SCRIPT_BASE/lib.sh
+echo "Go environment has been setup:"
+go env
$SUDO make install.tools
$SUDO $GOSRC/hack/install_catatonit.sh