bootc_lib/
composefs_consts.rs1#![allow(dead_code)]
2
3pub const COMPOSEFS_CMDLINE: &str = "composefs";
5
6pub(crate) const COMPOSEFS_TRANSIENT_STATE_DIR: &str = "/run/composefs";
8pub(crate) const COMPOSEFS_STAGED_DEPLOYMENT_FNAME: &str = "staged-deployment";
10
11pub(crate) const STATE_DIR_ABS: &str = "/sysroot/state/deploy";
13pub(crate) const STATE_DIR_RELATIVE: &str = "state/deploy";
15pub(crate) const SHARED_VAR_PATH: &str = "state/os/default/var";
17
18pub(crate) const ORIGIN_KEY_BOOT: &str = "boot";
20pub(crate) const ORIGIN_KEY_BOOT_TYPE: &str = "boot_type";
22pub(crate) const ORIGIN_KEY_BOOT_DIGEST: &str = "digest";
24
25pub(crate) const BOOT_LOADER_ENTRIES: &str = "entries";
27pub(crate) const STAGED_BOOT_LOADER_ENTRIES: &str = "entries.staged";
29
30pub(crate) const USER_CFG: &str = "user.cfg";
32pub(crate) const USER_CFG_STAGED: &str = "user.cfg.staged";
34
35pub(crate) const TYPE1_ENT_PATH: &str = "loader/entries";
38pub(crate) const TYPE1_ENT_PATH_STAGED: &str = "loader/entries.staged";
39
40pub(crate) const BOOTC_FINALIZE_STAGED_SERVICE: &str = "bootc-finalize-staged.service";