From: Martin Jansa Date: Sat, 18 Nov 2023 17:39:29 +0000 (+0100) Subject: image.bbclass: don't append -dbg suffix twice X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5361bce65f44537485f2807f5668e1416fe5f08d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image.bbclass: don't append -dbg suffix twice * now with IMAGE_LINK_NAME defined based on IMAGE_NAME we don't want to append -dbg to IMAGE_NAME and then again to IMAGE_LINK_NAME * this resulted in filename like: core-image-minimal-qemux86-64.rootfs-dbg--1.0-r0-20110405230000-dbg.tar.bz2 [YOCTO #12937] Signed-off-by: Martin Jansa --- diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass index 0278b8c648b..cb2e439b4bf 100644 --- a/meta/classes-recipe/image.bbclass +++ b/meta/classes-recipe/image.bbclass @@ -339,8 +339,6 @@ addtask do_image_qa_setscene def setup_debugfs_variables(d): d.appendVar('IMAGE_ROOTFS', '-dbg') - if d.getVar('IMAGE_LINK_NAME'): - d.appendVar('IMAGE_LINK_NAME', '-dbg') d.appendVar('IMAGE_NAME','-dbg') d.setVar('IMAGE_BUILDING_DEBUGFS', 'true') debugfs_image_fstypes = d.getVar('IMAGE_FSTYPES_DEBUGFS')