]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
image-artifact-names: add IMAGE_MACHINE_SUFFIX variable
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 13 Mar 2023 12:15:36 +0000 (13:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Mar 2023 13:53:24 +0000 (13:53 +0000)
commit6e82c394e98d57a2fe73e547922477cd6b0620f9
tree82f5e5bc9c0048d2d2cc46bce54e8d0a5c115c43
parentd6e52428ca25d9b6ec2a52406f2d1859d05867d3
image-artifact-names: add IMAGE_MACHINE_SUFFIX variable

* to make it easier for projects to avoid default -${MACHINE} suffix if
  the ${MACHINE} named DEPLOY_DIR_IMAGE works better for them

* also use IMAGE_LINK_NAME in IMAGE_NAME to make it more clear
  that IMAGE_NAME is the same as IMAGE_LINK_NAME but with version
  suffix

* adding it as separate variable helps us to catch the cases
  where we didn't respect ${IMAGE_LINK_NAME} variable and just used
  the common default ${IMAGE_BASENAME}-${MACHINE}.

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/image-artifact-names.bbclass
meta/classes-recipe/kernel-artifact-names.bbclass