From 1e4cbde63389187ae3ed246cf435e2d8f87b494d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 15 Feb 2024 13:21:46 -0500 Subject: [PATCH] Enable composefs by default We really want to aim to eventually enable this by default, let's test things out in rawhide. A thing that this is known to break is the "chattr -i" hack for new toplevel dirs (xref https://github.com/coreos/rpm-ostree/issues/337 ) Basically if you want that, you either need to make a derived image, or enable transient root. --- manifest.yaml | 3 +++ .../08ostree-prepare-root/usr/lib/ostree/prepare-root.conf | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 overlay.d/08ostree-prepare-root/usr/lib/ostree/prepare-root.conf diff --git a/manifest.yaml b/manifest.yaml index ff0b0fa342..3b9adedc34 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -9,6 +9,9 @@ repos: include: manifests/fedora-coreos.yaml +ostree-layers: + - overlay/08ostree-prepare-root + # Ship this in rawhide because we want to enable it in the future, also # to shake out any integration issues. packages: diff --git a/overlay.d/08ostree-prepare-root/usr/lib/ostree/prepare-root.conf b/overlay.d/08ostree-prepare-root/usr/lib/ostree/prepare-root.conf new file mode 100644 index 0000000000..50579f10d4 --- /dev/null +++ b/overlay.d/08ostree-prepare-root/usr/lib/ostree/prepare-root.conf @@ -0,0 +1,3 @@ +[composefs] +enabled = true +