Skip to content

Commit b45ef30

Browse files
jeckersbJohan-Liebert1
authored andcommitted
Post-rebase fixups:
- Use `read_file` from `composefs::fs` - Always define `mod parsers` - Re-alphabetize/group module definitions Signed-off-by: John Eckersberg <[email protected]>
1 parent 20bd11f commit b45ef30

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

crates/lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use cap_std_ext::cap_tempfile::TempDir;
4242
use cap_std_ext::cmdext::CapStdExtCommandExt;
4343
use cap_std_ext::prelude::CapStdExtDirExt;
4444
use clap::ValueEnum;
45-
use composefs_boot::bootloader::read_file;
45+
use composefs::fs::read_file;
4646
use fn_error_context::context;
4747
use ostree::gio;
4848
use ostree_ext::composefs::{

crates/lib/src/lib.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@
55
//! bootable container images.
66
77
pub(crate) mod bootc_kargs;
8+
mod bootloader;
89
mod boundimage;
910
mod cfsctl;
1011
pub mod cli;
1112
mod composefs_consts;
13+
mod containerenv;
1214
pub(crate) mod deploy;
1315
pub(crate) mod fsck;
1416
pub(crate) mod generator;
1517
mod glyph;
1618
mod image;
19+
mod install;
1720
pub(crate) mod journal;
1821
mod k8sapitypes;
1922
mod lints;
2023
mod lsm;
2124
pub(crate) mod metadata;
25+
mod parsers;
2226
mod podman;
2327
mod podstorage;
2428
mod progress_jsonl;
@@ -32,17 +36,8 @@ mod utils;
3236
#[cfg(feature = "docgen")]
3337
mod docgen;
3438

35-
mod bootloader;
36-
mod containerenv;
37-
mod install;
38-
39-
#[cfg(feature = "composefs-backend")]
40-
#[allow(dead_code)]
41-
pub(crate) mod parsers;
4239
#[cfg(feature = "rhsm")]
4340
mod rhsm;
4441

45-
mod parsers;
46-
4742
// Re-export blockdev crate for internal use
4843
pub(crate) use bootc_blockdev as blockdev;

0 commit comments

Comments
 (0)