]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 13 Mar 2023 12:15:33 +0000 (13:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Jun 2023 10:27:31 +0000 (11:27 +0100)
commitd4403365af6a5b9aa3b87ef8fd689d3bbcd23318
treec99a34f4f7bfc9cb77245c115873f2770b877a11
parentf8365c0216b24742b4ec456b5d35ea1c1647faa2
selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME

* this still assumes that IMAGE_LINK_NAME will contain IMAGE_BASENAME
  which will be BPN 'multiconfig-image-packager' and that replacing
  it with 'core-image-minimal' will match with the actual IMAGE_LINK_NAME
  from core-image-minimal recipe - there is no good way to query
  core-image-minimal's context, but this is still closer than assuming:
  core-image-minimal-${MCMACHINE}.${MCIMGTYPE}
  which works only with the current default:
  IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb