mirror of
https://github.com/containers/udica
synced 2024-05-24 01:46:11 +02:00
dc00aef98c
This replaces the duplicated script, with a small frontend that uses a common container image to do most of the work. Signed-off-by: Chris Evich <cevich@redhat.com>
26 lines
594 B
Bash
Executable File
26 lines
594 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
source "$(dirname $0)/lib.sh"
|
|
|
|
show_env_vars
|
|
|
|
case "${OS_RELEASE_ID}" in
|
|
fedora)
|
|
msg "Expanding root disk space"
|
|
growpart /dev/sda 1
|
|
resize2fs /dev/sda1
|
|
msg "Installing necessary additional packages"
|
|
ooe.sh dnf install -y \
|
|
python3 \
|
|
setools-console \
|
|
systemd-devel
|
|
;;
|
|
*) 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"
|