diff options
Diffstat (limited to 'src/paths.rs')
-rw-r--r-- | src/paths.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/paths.rs b/src/paths.rs index ffbc3a5..2e8f9f2 100644 --- a/src/paths.rs +++ b/src/paths.rs @@ -31,6 +31,7 @@ //! │ │ ├── downloads/ # downloaded sources //! │ │ ├── dest/ # collected as output after build //! │ │ ├── sysroot/ # sysroot mountpoint +//! │ │ ├── task/ # internal runner files //! │ │ └── work/ # build overlay mountpoint //! │ ├── rootfs/ # rootfs overlay mountpoint //! │ └── depends/ # overlayed on rootfs in container @@ -60,9 +61,12 @@ 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"; + pub fn join(paths: &[&str]) -> String { paths.join("/") } |