1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00

Enable composefs by default

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters
2025-09-30 14:46:14 +02:00
parent 7e526508a9
commit 87d1d391ff
4 changed files with 23 additions and 2 deletions

View File

@@ -107,7 +107,6 @@ validate:
cargo test --no-run
(cd crates/ostree-ext && cargo check --no-default-features)
(cd crates/lib && cargo check --no-default-features)
cargo check --features=composefs-backend
cargo clippy -- $(CLIPPY_CONFIG)
env RUSTDOCFLAGS='-D warnings' cargo doc --lib
.PHONY: validate

View File

@@ -73,7 +73,7 @@ similar-asserts = { workspace = true }
static_assertions = { workspace = true }
[features]
default = ["install-to-disk"]
default = ["install-to-disk", "composefs-backend"]
# This feature enables `bootc install to-disk`, which is considered just a "demo"
# or reference installer; we expect most nontrivial use cases to be using
# `bootc install to-filesystem`.

View File

@@ -114,6 +114,26 @@ more complex such as RAID, LVM, LUKS etc.
Instead of targeting a block device, write to a file via loopback
**--composefs-native**
**--insecure**
Default: false
**--bootloader**=*BOOTLOADER*
Default: grub
**--uki-addon**=*UKI_ADDON*
Name of the UKI addons to install without the ".efi.addon" suffix. This option can be provided multiple times if multiple addons are to be installed
<!-- END GENERATED OPTIONS -->
# EXAMPLES

View File

@@ -33,6 +33,8 @@ pulled and `bootc upgrade`.
| **bootc usr-overlay** | Add a transient writable overlayfs on `/usr` |
| **bootc install** | Install the running container to a target |
| **bootc container** | Operations which can be executed as part of a container build |
| **bootc composefs-finalize-staged** | |
| **bootc config-diff** | Diff current /etc configuration versus default |
<!-- END GENERATED SUBCOMMANDS -->