From 86a4342f3cf55f96e93daf175146d544e30c1216 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 30 Oct 2021 23:01:36 +0200 Subject: runner: move lockfile out of state directory --- crates/runner/src/paths.rs | 4 ++-- 1 file 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/ //! │   │  ├── .tar.tmp # during packing //! │   │  ├── .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"; -- cgit v1.2.3