bootc_lib/
composefs_consts.rs1pub(crate) const COMPOSEFS_TRANSIENT_STATE_DIR: &str = "/run/composefs";
3pub(crate) const COMPOSEFS_STAGED_DEPLOYMENT_FNAME: &str = "staged-deployment";
5
6pub(crate) const STATE_DIR_ABS: &str = "/sysroot/state/deploy";
8pub(crate) const STATE_DIR_RELATIVE: &str = "state/deploy";
10pub(crate) const ABOOT_STATE_DIR: &str = "state/boot/aboot";
11pub(crate) const ABOOT_PENDING_FNAME: &str = "pending";
12pub(crate) const ABOOT_ATTEMPTED_FNAME: &str = "attempted";
13pub(crate) const ABOOT_ROLLBACK_FNAME: &str = "rollback";
14pub(crate) const ABOOT_ARTIFACT_DIR: &str = "aboot";
15pub(crate) const ABOOT_IMAGE_FNAME: &str = "aboot.img";
16pub(crate) const ABOOT_VBMETA_FNAME: &str = "vbmeta.img";
17pub(crate) const ABOOT_RECONCILE_SERVICE: &str = "bootc-aboot-reconcile.service";
18pub(crate) const SHARED_VAR_PATH: &str = "state/os/default/var";
20
21pub(crate) const ORIGIN_KEY_BOOT: &str = "boot";
23pub(crate) const ORIGIN_KEY_BOOT_TYPE: &str = "boot_type";
25pub(crate) const ORIGIN_KEY_BOOT_DIGEST: &str = "digest";
27
28pub(crate) const ORIGIN_KEY_IMAGE: &str = "image";
30pub(crate) const ORIGIN_KEY_MANIFEST_DIGEST: &str = "manifest_digest";
32
33pub(crate) const BOOT_LOADER_ENTRIES: &str = "entries";
35pub(crate) const STAGED_BOOT_LOADER_ENTRIES: &str = "entries.staged";
37
38pub(crate) const USER_CFG: &str = "user.cfg";
40pub(crate) const USER_CFG_STAGED: &str = "user.cfg.staged";
42
43pub(crate) const TYPE1_ENT_PATH: &str = "loader/entries";
46pub(crate) const TYPE1_ENT_PATH_STAGED: &str = "loader/entries.staged";
47
48pub(crate) const BOOTC_FINALIZE_STAGED_SERVICE: &str = "bootc-finalize-staged.service";
49
50pub(crate) const TYPE1_BOOT_DIR_PREFIX: &str = "bootc_composefs-";
52
53pub(crate) const BLS_ENTRY_FILE_PREFIX: &str = "bootc_";
55
56pub(crate) const UKI_NAME_PREFIX: &str = TYPE1_BOOT_DIR_PREFIX;
64
65pub(crate) const BOOTC_TAG_PREFIX: &str = "localhost/bootc-";