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 authored and jbtrystram committed Aug 26, 2024
1 parent e0e4591 commit 1a25fcf
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 @@ -30,6 +30,8 @@ conditional-include:
# Wifi firmwares will be dropped in F41
- if: releasever < 41
include: wifi-firmwares.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 1a25fcf

Please sign in to comment.