From ae2ffbcfc810ccee752bbb408dab70d3e2ddb089 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Feb 16 2023 09:31:27 +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 Cherry-picked from: 9dc9105 fedora-common-ostree: Workaround for unified-core mode change --- diff --git a/fedora-common-ostree.yaml b/fedora-common-ostree.yaml index d473da1..33d8b85 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"