diff --git a/ci/prow/fcos-e2e.sh b/ci/prow/fcos-e2e.sh index 6365ad84e8..6fc74bd029 100755 --- a/ci/prow/fcos-e2e.sh +++ b/ci/prow/fcos-e2e.sh @@ -9,6 +9,9 @@ ls -al /usr/bin/rpm-ostree rpm-ostree --version cd $(mktemp -d) cosa init https://github.com/coreos/fedora-coreos-config/ +# let's turn on opt-usrlocal-overlays in this test since CoreOS CI already +# covers the off path +echo -e '\nopt-usrlocal-overlays: true\n' >> src/config/manifest.yaml rsync -rlv /cosa/component-install/ overrides/rootfs/ cosa fetch cosa build diff --git a/tests/kolainst/destructive/state-overlays b/tests/kolainst/destructive/state-overlays index c2aac0d1c5..e10ca33a31 100755 --- a/tests/kolainst/destructive/state-overlays +++ b/tests/kolainst/destructive/state-overlays @@ -31,12 +31,16 @@ case "${AUTOPKGTEST_REBOOT_MARK:-}" in rpm-ostree override replace https://bodhi.fedoraproject.org/updates/FEDORA-2024-6c7480dd2f fi - # FCOS doesn't enable opt-usrlocal-overlays so use the hack instead - mkdir -p /etc/systemd/system/rpm-ostreed.service.d/ - cat > /etc/systemd/system/rpm-ostreed.service.d/state-overlay.conf < /etc/systemd/system/rpm-ostreed.service.d/state-overlay.conf <