diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-28 22:30:16 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-28 23:28:04 +0200 |
commit | fb6fa0720400d8fa7d9ae29d02c2db58a57a6c8a (patch) | |
tree | 43d984227f1e10bb327ff2a37c0f0ed656eaf559 /crates/runner/src | |
parent | 00f1c87d3d841f5b24c89d370868cf0306896877 (diff) | |
download | rebel-fb6fa0720400d8fa7d9ae29d02c2db58a57a6c8a.tar rebel-fb6fa0720400d8fa7d9ae29d02c2db58a57a6c8a.zip |
Split paths module into driver and runner parts
There are still a few remaining paths that are defined in both driver
and runner.
Diffstat (limited to 'crates/runner/src')
-rw-r--r-- | crates/runner/src/lib.rs | 2 | ||||
-rw-r--r-- | crates/runner/src/paths.rs | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/crates/runner/src/lib.rs b/crates/runner/src/lib.rs index 636c112..9ca6c23 100644 --- a/crates/runner/src/lib.rs +++ b/crates/runner/src/lib.rs @@ -1,7 +1,7 @@ mod init; mod jobserver; mod ns; -pub mod paths; +mod paths; mod tar; mod task; mod util; diff --git a/crates/runner/src/paths.rs b/crates/runner/src/paths.rs index 5bfef25..e436948 100644 --- a/crates/runner/src/paths.rs +++ b/crates/runner/src/paths.rs @@ -31,8 +31,6 @@ //! └── <input hash>/ //! ├── build/ # mount point for /build directory //! │ ├── downloads/ # downloaded sources -//! │ ├── dest/ # collected as output after build -//! │ ├── sysroot/ # sysroot mountpoint //! │ ├── task/ # internal runner files //! │ └── work/ # build overlay mountpoint //! ├── rootfs/ # rootfs overlay mountpoint @@ -61,11 +59,9 @@ pub const TASK_STATE_LAYER_SUBDIR: &str = "layer"; pub const TASK_STATE_WORK_SUBDIR: &str = "work"; pub const TASK_BUILDDIR: &str = "build"; -pub const TASK_DESTDIR: &str = "build/dest"; pub const TASK_DLDIR: &str = "build/downloads"; pub const TASK_TASKDIR: &str = "build/task"; pub const TASK_WORKDIR: &str = "build/work"; -pub const TASK_SYSROOT: &str = "opt/toolchain/sysroot"; pub const TASK_RUN: &str = "run"; |