[elbe-devel] [PATCH 2/3] examples arm64-qemu-virt: fix vmlinuz version number

Torben Hohn torben.hohn at linutronix.de
Wed Oct 2 11:31:58 CEST 2019


project finetuning fails:

--------------------------------------------------------------------------
[CMD] losetup --find --show --partscan "/var/cache/elbe/afda0155-d6dd-48db-a395-6b49bb87a3ca/sdcard.img"
[CMD] mount "/dev/loop0p1" "/var/cache/elbe/afda0155-d6dd-48db-a395-6b49bb87a3ca/imagemnt"
[ERROR] No file matching "/vmlinuz-3.16.0-*-arm64" found
[CMD] umount "/var/cache/elbe/afda0155-d6dd-48db-a395-6b49bb87a3ca/imagemnt"
[CMD] losetup --detach "/dev/loop0"
[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 539, in execute_prj
    action.execute_img(buildenv, target, builddir, loop_dev)
  File "/usr/lib/python2.7/dist-packages/elbepack/finetuning.py", line 644, in execute_img
    raise FinetuningException('No File found')
FinetuningException: No File found
--------------------------------------------------------------------------

fix the kernel version number in project finetuning.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 examples/arm64-qemu-virt.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/arm64-qemu-virt.xml b/examples/arm64-qemu-virt.xml
index 448fd86b4..1a04ea23f 100644
--- a/examples/arm64-qemu-virt.xml
+++ b/examples/arm64-qemu-virt.xml
@@ -80,7 +80,7 @@
 		<project-finetuning>
 			<losetup img="sdcard.img">
 				<!-- globs work, but must make sure, that only a single file is matched -->
-				<copy_from_partition part="1" artifact="vmlinuz">/vmlinuz-3.16.0-*-arm64</copy_from_partition>
+				<copy_from_partition part="1" artifact="vmlinuz">/vmlinuz-4.9.0-*-arm64</copy_from_partition>
 			</losetup>
 			<img_convert fmt="qcow2" dst="sdcard.qcow2">sdcard.img</img_convert>
 			<set_packer packer="tarxz">sdcard.qcow2</set_packer>
-- 
2.20.1




More information about the elbe-devel mailing list