diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-01 23:20:49 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-01 23:33:45 +0100 |
commit | 3123a16b6793a209aa10b4e72b63729ae9a32e99 (patch) | |
tree | c22afe45db2e2091fb19e723a046a3fe2ee3c024 /crates/runner/src/paths.rs | |
parent | f6e4529dba0adbf1736687686a0d70e674830a21 (diff) | |
download | rebel-3123a16b6793a209aa10b4e72b63729ae9a32e99.tar rebel-3123a16b6793a209aa10b4e72b63729ae9a32e99.zip |
runner: use rootfs passed in Task definition
With this, the rootfs hash is included in the task's input hash, so now
the hash covers all significant inputs except for the runner itself.
Diffstat (limited to 'crates/runner/src/paths.rs')
-rw-r--r-- | crates/runner/src/paths.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/runner/src/paths.rs b/crates/runner/src/paths.rs index b46d1bb..7af1e3a 100644 --- a/crates/runner/src/paths.rs +++ b/crates/runner/src/paths.rs @@ -5,7 +5,6 @@ //! ```text //! build/ //! ├── build.lock -//! ├── rootfs.tar //! ├── downloads/ //! │ └── ... //! ├── state/ @@ -27,7 +26,6 @@ //! │ └── ... //! └── tmp/ # temporary files (cleaned on start) //! ├── dev/ # container /dev -//! ├── rootfs/ # unpacked rootfs.tar //! ├── depends/ # unpacked dependencies //! └── task/ //! └── <input hash>/ @@ -40,14 +38,11 @@ use common::string_hash::*; -pub const ROOTFS_ARCHIVE: &str = "build/rootfs.tar"; - pub const DOWNLOADS_DIR: &str = "build/downloads"; pub const PIN_DIR: &str = "build/pinned"; pub const TMP_DIR: &str = "build/tmp"; pub const DEV_DIR: &str = "build/tmp/dev"; -pub const ROOTFS_DIR: &str = "build/tmp/rootfs"; pub const DEPENDS_TMP_DIR: &str = "build/tmp/depends"; pub const TASK_TMP_DIR: &str = "build/tmp/task"; |