diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 8e13662382..c5e054d3ce 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -497,6 +497,10 @@ KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME | |||
497 | # Don't include the DATETIME variable in the sstate package signatures | 497 | # Don't include the DATETIME variable in the sstate package signatures |
498 | KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" | 498 | KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" |
499 | KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" | 499 | KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" |
500 | MODULE_TARBALL_BASE_NAME ?= "modules-${PE}-${PV}-${PR}-${MACHINE}-${DATETIME}.tgz" | ||
501 | # Don't include the DATETIME variable in the sstate package signatures | ||
502 | MODULE_TARBALL_BASE_NAME[vardepsexclude] = "DATETIME" | ||
503 | MODULE_TARBALL_SYMLINK_NAME ?= "modules-${MACHINE}.tgz" | ||
500 | 504 | ||
501 | do_uboot_mkimage() { | 505 | do_uboot_mkimage() { |
502 | if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then | 506 | if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then |
@@ -526,7 +530,8 @@ addtask uboot_mkimage before do_install after do_compile | |||
526 | kernel_do_deploy() { | 530 | kernel_do_deploy() { |
527 | install -m 0644 ${KERNEL_OUTPUT} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin | 531 | install -m 0644 ${KERNEL_OUTPUT} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin |
528 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 532 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
529 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib | 533 | tar -cvzf ${DEPLOYDIR}/${MODULE_TARBALL_BASE_NAME} -C ${D} lib |
534 | ln -sf ${MODULE_TARBALL_BASE_NAME}.bin ${MODULE_TARBALL_SYMLINK_NAME} | ||
530 | fi | 535 | fi |
531 | 536 | ||
532 | cd ${DEPLOYDIR} | 537 | cd ${DEPLOYDIR} |