Skip to content

Commit 3f0d7e1

Browse files
Bump composefs-rs
Signed-off-by: Pragyan Poudyal <[email protected]>
1 parent 97b902c commit 3f0d7e1

File tree

4 files changed

+69
-57
lines changed

4 files changed

+69
-57
lines changed

Cargo.lock

Lines changed: 52 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/install.rs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ use fn_error_context::context;
4141
use ostree::gio;
4242
use ostree_ext::composefs::{
4343
fsverity::{FsVerityHashValue, Sha256HashValue},
44-
oci::image::create_filesystem as create_composefs_filesystem,
45-
oci::pull as composefs_oci_pull,
4644
repository::Repository as ComposefsRepository,
4745
util::Sha256Digest,
48-
write_boot::write_boot_simple as composefs_write_boot_simple,
46+
};
47+
use ostree_ext::composefs_boot::{
48+
write_boot::write_boot_simple as composefs_write_boot_simple, BootOps,
49+
};
50+
use ostree_ext::composefs_oci::{
51+
image::create_filesystem as create_composefs_filesystem, pull as composefs_oci_pull,
4952
};
5053
use ostree_ext::oci_spec;
5154
use ostree_ext::ostree;
@@ -1521,9 +1524,11 @@ fn setup_composefs_boot(root_setup: &RootSetup, state: &State, image_id: &str) -
15211524
)?;
15221525

15231526
// Add the user grug cfg
1527+
// TODO: We don't need this for BLS. Have a flag for BLS vs UKI, or maybe we can figure it out
1528+
// via the boot entries above
15241529
let grub_user_config = format!(
1525-
r#"
1526-
menuentry "Some Fedora Idk" {{
1530+
r#"
1531+
menuentry "Some Fedora" {{
15271532
insmod fat
15281533
insmod chain
15291534
search --no-floppy --set=root --fs-uuid {rootfs_uuid}

ostree-ext/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ ostree = { features = ["v2025_1"], version = "0.20.0" }
2020
anyhow = { workspace = true }
2121
bootc-utils = { path = "../utils" }
2222
camino = { workspace = true, features = ["serde1"] }
23-
composefs = { git = "https://github.com/containers/composefs-rs", rev = "b1bd9c1d253c9b15bbf8e04068ad96edd974ccd0" }
23+
24+
composefs = { git = "https://github.com/containers/composefs-rs", rev = "2a71e03791a50f7c254b98b20b70b9ab3c0ca997", package = "composefs" }
25+
composefs-boot = { git = "https://github.com/containers/composefs-rs", rev = "2a71e03791a50f7c254b98b20b70b9ab3c0ca997", package = "composefs-boot" }
26+
composefs-oci = { git = "https://github.com/containers/composefs-rs", rev = "2a71e03791a50f7c254b98b20b70b9ab3c0ca997", package = "composefs-oci" }
27+
2428
chrono = { workspace = true }
2529
olpc-cjson = "0.1.1"
2630
clap = { workspace = true, features = ["derive","cargo"] }

ostree-ext/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// "Dependencies are re-exported". Users will need e.g. `gio::File`, so this avoids
1818
// them needing to update matching versions.
1919
pub use composefs;
20+
pub use composefs_boot;
21+
pub use composefs_oci;
2022
pub use containers_image_proxy;
2123
pub use containers_image_proxy::oci_spec;
2224
pub use ostree;

0 commit comments

Comments
 (0)