1
1
mirror of https://github.com/containers/udica synced 2026-03-14 19:55:45 +01:00
udica/contrib/cirrus/setup.sh
Vit Mojzis afcb14faaa cirrus: Install fuse-overlayfs
Fixes:
podman run -d -v /home:/home:ro -v /var/spool:/var/spool:rw -p 21:21 fedora sleep 1h  # ./contrib/cirrus/test.sh:11 in main()
Error: configure storage: overlay: can't stat program "/usr/bin/fuse-overlayfs": faccessat /usr/bin/fuse-overlayfs: no such file or directory

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2024-05-30 19:59:25 +02:00

23 lines
505 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
source "$(dirname $0)/lib.sh"
show_env_vars
case "${OS_RELEASE_ID}" in
fedora)
msg "Installing necessary additional packages"
ooe.sh dnf install -y \
setools-console \
systemd-devel \
fuse-overlayfs
;;
*) bad_os_id_ver ;;
esac
echo "Configuring git for access to podman pull-requests"
NEWREF='+refs/pull/*/head:refs/remotes/upstream/pr/*'
git config --global --replace-all remote.origin.fetch "$NEWREF"