mbox

[v2,0/3] Enable replacing image symlinks with unversioned files

Message ID cover.1640036988.git.paul.eggleton@linux.microsoft.com
State Not Applicable, archived
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib paule/kernel-symlinks

Message

Paul Eggleton Dec. 20, 2021, 9:58 p.m. UTC
This patchset puts in the remaining pieces to allow disabling symlinks
and then renaming the real files to avoid having the version in their
names, for example:

IMAGE_LINK_NAME = ""
IMAGE_VERSION_SUFFIX = ""
IMAGE_NAME_SUFFIX = ""

INITRAMFS_LINK_NAME = ""

KERNEL_ARTIFACT_NAME = "${MACHINE}"
KERNEL_ARTIFACT_LINK_NAME = ""

KERNEL_FIT_BIN_EXT = ""
KERNEL_IMAGETYPE_SYMLINK = "0"


Changes since v1 (a year ago!):
* Add KERNEL_IMAGETYPE_SYMLINK to allow explicitly disabling kernel
  image type named symlinks (e.g. "bzImage")
* Add variables to allow changing/disabling kernel artifact .bin extension
* Fix unconditional IMAGE_LINK_NAME usage in qemuboot.bbclass


The following changes since commit a5459e42f1a6be9c08f303653cc1f73514eca9ef:

  oeqa/selftest/bbtests: Use YP sources mirror instead of GNU (2021-12-20 15:28:57 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/kernel-symlinks
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/kernel-symlinks

Paul Eggleton (3):
  classes/kernel*: allow disabling symlink creation
  classes/kernel*: add variables to allow changing artifact extension
  classes/qemuboot: allow IMAGE_LINK_NAME to be empty

 meta/classes/kernel-artifact-names.bbclass |  5 +++++
 meta/classes/kernel-devicetree.bbclass     | 24 ++++++++++++++++--------
 meta/classes/kernel-fitimage.bbclass       | 20 ++++++++++++++------
 meta/classes/kernel.bbclass                | 20 ++++++++++++++------
 meta/classes/qemuboot.bbclass              |  7 +++++--
 5 files changed, 54 insertions(+), 22 deletions(-)