2019-07-19 17:55:11 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eo pipefail
|
|
|
|
|
|
|
|
source "$(dirname $0)/lib.sh"
|
|
|
|
|
2021-04-14 16:21:34 +02:00
|
|
|
show_env_vars
|
|
|
|
|
2019-07-19 17:55:11 +02:00
|
|
|
case "${OS_RELEASE_ID}" in
|
|
|
|
fedora)
|
2021-04-14 16:39:22 +02:00
|
|
|
msg "Installing necessary additional packages"
|
2019-07-19 17:55:11 +02:00
|
|
|
ooe.sh dnf install -y \
|
|
|
|
setools-console \
|
2024-05-29 22:22:57 +02:00
|
|
|
systemd-devel \
|
|
|
|
fuse-overlayfs
|
2019-07-19 17:55:11 +02:00
|
|
|
;;
|
|
|
|
*) 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"
|