diff options
-rw-r--r-- | crates/driver/src/driver.rs | 1 | ||||
-rw-r--r-- | examples/recipes/rootfs.yml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index ca93b0f..fe69ee0 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -181,6 +181,7 @@ impl<'ctx> Driver<'ctx> { fn task_setup(task_ref: &TaskRef<'ctx>) -> Vec<&'static str> { let mut ret = vec![indoc! {" + export PATH={{build.prefix}}/sbin:{{build.prefix}}/bin:$PATH cd {{workdir}} export SOURCE_DATE_EPOCH=1 diff --git a/examples/recipes/rootfs.yml b/examples/recipes/rootfs.yml index 77b50ba..03b52d6 100644 --- a/examples/recipes/rootfs.yml +++ b/examples/recipes/rootfs.yml @@ -52,5 +52,5 @@ tasks: )" mkdir {{destdir}} - {{build.prefix}}/bin/make_ext4fs -l 2G -T "$SOURCE_DATE_EPOCH" -L root "$IMAGE" {{sysroot}} - E2FSPROGS_FAKE_TIME="$SOURCE_DATE_EPOCH" {{build.prefix}}/sbin/tune2fs -U "$UUID" "$IMAGE" + make_ext4fs -l 2G -T "$SOURCE_DATE_EPOCH" -L root "$IMAGE" {{sysroot}} + E2FSPROGS_FAKE_TIME="$SOURCE_DATE_EPOCH" tune2fs -U "$UUID" "$IMAGE" |