diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-30 23:01:36 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-30 23:01:36 +0200 |
commit | 86a4342f3cf55f96e93daf175146d544e30c1216 (patch) | |
tree | 363684ce8902c8fd386e9f0cd9bedc03e0919528 | |
parent | ceceb6ca81603b2976f00a12f2351706ccabeb40 (diff) | |
download | rebel-86a4342f3cf55f96e93daf175146d544e30c1216.tar rebel-86a4342f3cf55f96e93daf175146d544e30c1216.zip |
runner: move lockfile out of state directory
-rw-r--r-- | crates/runner/src/paths.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/runner/src/paths.rs b/crates/runner/src/paths.rs index 738cb54..34ecdc3 100644 --- a/crates/runner/src/paths.rs +++ b/crates/runner/src/paths.rs @@ -4,11 +4,11 @@ //! //! ```text //! build/ +//! ├── build.lock //! ├── rootfs.tar //! ├── downloads/ //! │ └── ... //! ├── state/ -//! │ ├── build.lock //! │ ├── output/ //! │ │ ├── <input hash>.tar.tmp # during packing //! │ │ ├── <archive hash>.tar # files are renamed when packing is finished @@ -50,7 +50,7 @@ pub const TASK_TMP_DIR: &str = "build/tmp/task"; pub const TASK_TMP_ROOTFS_SUBDIR: &str = "rootfs"; pub const TASK_TMP_DEPENDS_SUBDIR: &str = "depends"; -pub const LOCKFILE: &str = "build/state/build.lock"; +pub const LOCKFILE: &str = "build/build.lock"; pub const OUTPUT_STATE_DIR: &str = "build/state/output"; pub const TASK_STATE_DIR: &str = "build/state/task"; pub const LAYER_STATE_DIR: &str = "build/state/layer"; |