From 9dc9105ddbcfe18c83bf4b0c6a75a2d3e794b385 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Feb 12 2023 12:54:37 +0000 Subject: fedora-common-ostree: Workaround for unified-core mode change Remove the `loader` directory that conflicts with the `loader` symlink that is installed by Anaconda. See: https://pagure.io/pungi-fedora/pull-request/1115 See: https://github.com/rhinstaller/anaconda/blob/fa42c8b4256b1d380181a775ea7b3766c98e0b2c/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py#L307 --- diff --git a/fedora-common-ostree.yaml b/fedora-common-ostree.yaml index 3e5cbfb..14b3651 100644 --- a/fedora-common-ostree.yaml +++ b/fedora-common-ostree.yaml @@ -103,4 +103,8 @@ postprocess: ln -srf /usr/bin/true ${x} fi done + + # Remove loader directory causing issues in Anaconda in unified core mode + # Will be obsolete once we start using bootupd + rm -rf /usr/lib/ostree-boot/loader postprocess-script: "postprocess.sh"