github.com/openflowlabs/storage@v1.12.13/contrib/cirrus/setup.sh (about) 1 #!/bin/bash 2 3 set -e 4 5 source $(dirname $0)/lib.sh 6 7 install_ooe 8 9 show_env_vars 10 11 cd $GOSRC 12 13 export RPMBuildRequires="podman autoconf automake golang go-md2man gpgme-devel device-mapper-devel btrfs-progs-devel libassuan-devel libseccomp-devel glib2-devel ostree-devel make bats fuse3-devel fuse3" 14 export AptBuildRequires="autoconf automake golang go-md2man libgpgme11-dev libdevmapper-dev libseccomp-dev libglib2.0-dev libostree-dev make bats aufs-tools fuse3 libfuse3-dev libbtrfs-dev" 15 16 case "$OS_REL_VER" in 17 fedora-*) 18 echo "Setting up $OS_RELEASE_ID $OS_RELEASE_VER" # STUB: Add VM setup instructions here 19 dnf -y update 20 dnf -y install $RPMBuildRequires 21 dnf -y remove gcc-go 22 install_fuse_overlayfs_from_git 23 ;; 24 ubuntu-19) 25 echo "Setting up $OS_RELEASE_ID $OS_RELEASE_VER" # STUB: Add VM setup instructions here 26 $SHORT_APTGET update # Fetch latest package metadata 27 $SHORT_APTGET -qq install $AptBuildRequires 28 install_fuse_overlayfs_from_git 29 ;; 30 *) 31 bad_os_id_ver 32 ;; 33 esac 34 35 echo "Installing common tooling" 36 #make install.tools