diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-artifact-names.bbclass | 13 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
2 files changed, 7 insertions, 11 deletions
diff --git a/meta/classes/kernel-artifact-names.bbclass b/meta/classes/kernel-artifact-names.bbclass index d696888322..70b1cb804d 100644 --- a/meta/classes/kernel-artifact-names.bbclass +++ b/meta/classes/kernel-artifact-names.bbclass | |||
@@ -1,19 +1,14 @@ | |||
1 | KERNEL_IMAGE_BASE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 1 | KERNEL_IMAGE_BASE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
2 | # Don't include the DATETIME variable in the sstate package signatures | ||
3 | KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" | ||
4 | KERNEL_IMAGE_SYMLINK_NAME ?= "${MACHINE}" | 2 | KERNEL_IMAGE_SYMLINK_NAME ?= "${MACHINE}" |
5 | 3 | ||
6 | KERNEL_DTB_BASE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 4 | KERNEL_DTB_BASE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
7 | KERNEL_DTB_BASE_NAME[vardepsexclude] = "DATETIME" | ||
8 | KERNEL_DTB_SYMLINK_NAME ?= "${MACHINE}" | 5 | KERNEL_DTB_SYMLINK_NAME ?= "${MACHINE}" |
9 | 6 | ||
10 | MODULE_IMAGE_BASE_NAME ?= "modules-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 7 | MODULE_IMAGE_BASE_NAME ?= "modules-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
11 | MODULE_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" | ||
12 | 8 | ||
13 | MODULE_TARBALL_BASE_NAME ?= "${MODULE_IMAGE_BASE_NAME}.tgz" | 9 | MODULE_TARBALL_BASE_NAME ?= "${MODULE_IMAGE_BASE_NAME}.tgz" |
14 | MODULE_TARBALL_SYMLINK_NAME ?= "modules-${MACHINE}.tgz" | 10 | MODULE_TARBALL_SYMLINK_NAME ?= "modules-${MACHINE}.tgz" |
15 | MODULE_TARBALL_DEPLOY ?= "1" | 11 | MODULE_TARBALL_DEPLOY ?= "1" |
16 | 12 | ||
17 | INITRAMFS_BASE_NAME ?= "initramfs-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 13 | INITRAMFS_BASE_NAME ?= "initramfs-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
18 | INITRAMFS_BASE_NAME[vardepsexclude] = "DATETIME" | ||
19 | INITRAMFS_SYMLINK_NAME ?= "initramfs-${MACHINE}" | 14 | INITRAMFS_SYMLINK_NAME ?= "initramfs-${MACHINE}" |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f68954c511..1941633a54 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -445,8 +445,9 @@ STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifac | |||
445 | 445 | ||
446 | IMAGE_ROOTFS = "${WORKDIR}/rootfs" | 446 | IMAGE_ROOTFS = "${WORKDIR}/rootfs" |
447 | IMAGE_BASENAME = "${PN}" | 447 | IMAGE_BASENAME = "${PN}" |
448 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | 448 | IMAGE_VERSION_SUFFIX = "-${DATETIME}" |
449 | IMAGE_NAME[vardepsexclude] += "DATETIME" | 449 | IMAGE_VERSION_SUFFIX[vardepsexclude] += "DATETIME" |
450 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
450 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" | 451 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" |
451 | 452 | ||
452 | # This option allows for a percentage overage of the actual image size rather than a | 453 | # This option allows for a percentage overage of the actual image size rather than a |