[elbe-devel] [PATCH 3/3] examples armhf-ti-beaglebone-black: fix artifact paths
Torben Hohn
torben.hohn at linutronix.de
Wed Oct 2 11:31:59 CEST 2019
Path generation for finetuning artifacts works using "target" + path.
However, when an artifact does not exist, this does not generate an
error. And so these 2 broken artifacts got ignored silently.
Except for the removal of "target/usr/lib/u-boot/am335x_boneblack/MLO"
in the project finetuning, which does not work, because the artifacts
name would have been "targetusr/lib/u-boot/am335x_boneblack/MLO".
-----------------------------------------------------------------------------------------------------
[ERROR] Finetuning Error
Trying to continue anyways
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/elbepack/finetuning.py", line 728, in do_prj_finetuning
action.execute_prj(buildenv, target, builddir)
File "/usr/lib/python2.7/dist-packages/elbepack/finetuning.py", line 517, in execute_prj
self.node.et.text)
FinetuningException: Artifact target/usr/lib/u-boot/am335x_boneblack/MLO doesn't exist
-----------------------------------------------------------------------------------------------------
Fix the paths, by prefixing with /
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
examples/armhf-ti-beaglebone-black.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/armhf-ti-beaglebone-black.xml b/examples/armhf-ti-beaglebone-black.xml
index d9bde164e..3f4f219c8 100644
--- a/examples/armhf-ti-beaglebone-black.xml
+++ b/examples/armhf-ti-beaglebone-black.xml
@@ -103,8 +103,8 @@
<rm>/var/cache/apt/archives/*.deb</rm>
<rm>/var/cache/apt/*.bin</rm>
<rm>/var/lib/apt/lists/ftp*</rm>
- <artifact>usr/lib/u-boot/am335x_boneblack/MLO</artifact>
- <artifact>usr/lib/linux-image-4.9.0-3-armmp/am335x-boneblack.dtb</artifact>
+ <artifact>/usr/lib/u-boot/am335x_boneblack/MLO</artifact>
+ <artifact>/usr/lib/linux-image-4.9.0-3-armmp/am335x-boneblack.dtb</artifact>
</finetuning>
<!-- generate a pbuilder environment (before image will be build) -->
<pbuilder>
--
2.20.1
More information about the elbe-devel
mailing list