diff options
Diffstat (limited to 'meta/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/image-artifact-names.bbclass | 3 | ||||
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes-recipe/image-artifact-names.bbclass b/meta/classes-recipe/image-artifact-names.bbclass index 5c4e746b90..9dc25b6dde 100644 --- a/meta/classes-recipe/image-artifact-names.bbclass +++ b/meta/classes-recipe/image-artifact-names.bbclass | |||
| @@ -14,6 +14,9 @@ IMAGE_VERSION_SUFFIX[vardepsexclude] += "DATETIME SOURCE_DATE_EPOCH" | |||
| 14 | IMAGE_NAME ?= "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 14 | IMAGE_NAME ?= "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
| 15 | IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}" | 15 | IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}" |
| 16 | 16 | ||
| 17 | # This needs to stay in sync with IMAGE_LINK_NAME, but with INITRAMFS_IMAGE instead of IMAGE_BASENAME | ||
| 18 | INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}-${MACHINE}', ''][d.getVar('INITRAMFS_IMAGE') == '']}" | ||
| 19 | |||
| 17 | # IMAGE_NAME is the base name for everything produced when building images. | 20 | # IMAGE_NAME is the base name for everything produced when building images. |
| 18 | # The actual image that contains the rootfs has an additional suffix (.rootfs | 21 | # The actual image that contains the rootfs has an additional suffix (.rootfs |
| 19 | # by default) followed by additional suffices which describe the format (.ext4, | 22 | # by default) followed by additional suffices which describe the format (.ext4, |
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 92090ac14e..aefa0d21bc 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass | |||
| @@ -33,7 +33,6 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 33 | 33 | ||
| 34 | KERNEL_IMAGETYPE ?= "zImage" | 34 | KERNEL_IMAGETYPE ?= "zImage" |
| 35 | INITRAMFS_IMAGE ?= "" | 35 | INITRAMFS_IMAGE ?= "" |
| 36 | INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}-${MACHINE}', ''][d.getVar('INITRAMFS_IMAGE') == '']}" | ||
| 37 | INITRAMFS_TASK ?= "" | 36 | INITRAMFS_TASK ?= "" |
| 38 | INITRAMFS_IMAGE_BUNDLE ?= "" | 37 | INITRAMFS_IMAGE_BUNDLE ?= "" |
| 39 | INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}" | 38 | INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}" |
