Skip to content

Commit

Permalink
Enable composefs for 41+
Browse files Browse the repository at this point in the history
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 coreos/rpm-ostree#337 )

Basically if you want that, you either need to make a derived image,
or enable transient root.
  • Loading branch information
cgwalters committed Feb 15, 2024
1 parent 68b7cbd commit de50d28
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/composefs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Enable composefs by default.
ostree-layers:
- overlay/08composefs
2 changes: 2 additions & 0 deletions manifests/fedora-coreos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ conditional-include:
# Remove this once we have Podman v5 in f39.
# xref: https://github.com/coreos/fedora-coreos-tracker/issues/1629
include: cni-plugins.yaml
- if: stream == "rawhide"
include: composefs.yaml

ostree-layers:
- overlay/15fcos
Expand Down
2 changes: 2 additions & 0 deletions overlay.d/08composefs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Enable composefs by default; more in https://ostreedev.github.io/ostree/composefs/
For now rawhide only.
2 changes: 2 additions & 0 deletions overlay.d/08composefs/usr/lib/ostree/prepare-root.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[composefs]
enabled = true

0 comments on commit de50d28

Please sign in to comment.