summaryrefslogtreecommitdiffstats
path: root/examples/recipes/image/build.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:19:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:24:45 +0200
commita488b37a22b72bdcd7b58102387fea98b82918e1 (patch)
treed1925f43070f25eb49b0181fd123b8f950a2f4b2 /examples/recipes/image/build.yml
parent631b45f565bf6160734941e0b7ad69e68a520b0e (diff)
downloadrebel-a488b37a22b72bdcd7b58102387fea98b82918e1.tar
rebel-a488b37a22b72bdcd7b58102387fea98b82918e1.zip
examples: use {{name}} instead of {{basename}}
{{name}} is usually the better choice for references in the scripts, as it can be overridden.
Diffstat (limited to 'examples/recipes/image/build.yml')
-rw-r--r--examples/recipes/image/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/recipes/image/build.yml b/examples/recipes/image/build.yml
index 0d5fac4..a42899f 100644
--- a/examples/recipes/image/build.yml
+++ b/examples/recipes/image/build.yml
@@ -45,7 +45,7 @@ tasks:
output:
default: {}
run: |
- IMAGE={{destdir}}/{{basename}}.ext4
+ IMAGE={{destdir}}/{{name}}.ext4
mkdir {{destdir}}
make_ext4fs -l 2G -T "$SOURCE_DATE_EPOCH" -L root "$IMAGE" {{sysroot}}