#!/bin/sh# Prepare VM for "daily" scenario: Run tests against various upstream COPRsset -eux# image-customize hides stdout by defaultexec >&2dnf -y copr enable rpmsoftwaremanagement/dnf-nightlydnf -y copr enable @storage/udisks-dailydnf -y --setopt=install_weak_deps=False updategrep -q 'ID=.*fedora' /etc/os-release# systemd main branch builds. /etc/os-releasefedora_release="Fedora_${VERSION_ID}"echo "https://download.opensuse.org/repositories/system:systemd/${fedora_release}/system:systemd.repo"dnf config-manager addrepo --from-repofile="https://download.opensuse.org/repositories/system:systemd/${fedora_release}/system:systemd.repo"dnf -y update --repo=system_systemd --setopt=install_weak_deps=False# https://github.com/fedora-selinux/selinux-policy/issues/2947sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config/var/lib/download-package-sets.sh