diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2018-09-18 08:43:02 +0800 |
|---|---|---|
| committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-18 11:11:12 +0800 |
| commit | 32037a3aa790730beb857ba57c7904c44aaefe0a (patch) | |
| tree | 841f22bca3aeaf3f89cb426096e8b8188ef40119 | |
| parent | 74af5e364470df8793c4110f5f2c3b9bd3337fd2 (diff) | |
| download | meta-secure-core-32037a3aa790730beb857ba57c7904c44aaefe0a.tar.gz | |
linux-yocto-efi-secure-boot: rename KERNEL_IMAGE_BASE_NAME to KERNEL_IMAGE_NAME and KERNEL_IMAGE_SYMLINK_NAME to KERNEL_IMAGE_LINK_NAME
The *_BASE_NAME was renamed to *_NAME and *_SYMLINK_NAME was renamed to
*_LINK_NAME in oe-core commit f952c8e08b4798aa0f8bf764cfd70bda0eae9b8b.
So we also need to do the same thing here.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
| -rw-r--r-- | meta-efi-secure-boot/recipes-kernel/linux/linux-yocto-efi-secure-boot.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-efi-secure-boot/recipes-kernel/linux/linux-yocto-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-kernel/linux/linux-yocto-efi-secure-boot.inc index 8753b3d..b80f112 100644 --- a/meta-efi-secure-boot/recipes-kernel/linux/linux-yocto-efi-secure-boot.inc +++ b/meta-efi-secure-boot/recipes-kernel/linux/linux-yocto-efi-secure-boot.inc | |||
| @@ -86,10 +86,10 @@ do_deploy_append() { | |||
| 86 | fi | 86 | fi |
| 87 | 87 | ||
| 88 | if [ -f "${B}/${KERNEL_OUTPUT_DIR}/$type.p7b" ]; then | 88 | if [ -f "${B}/${KERNEL_OUTPUT_DIR}/$type.p7b" ]; then |
| 89 | base_name="${type}-${KERNEL_IMAGE_BASE_NAME}.bin.p7b" | 89 | base_name="${type}-${KERNEL_IMAGE_NAME}.bin.p7b" |
| 90 | 90 | ||
| 91 | install -m 0644 "${B}/${KERNEL_OUTPUT_DIR}/$type.p7b" "${DEPLOYDIR}/$base_name" | 91 | install -m 0644 "${B}/${KERNEL_OUTPUT_DIR}/$type.p7b" "${DEPLOYDIR}/$base_name" |
| 92 | ln -sf "$base_name" "${DEPLOYDIR}/$type-${KERNEL_IMAGE_SYMLINK_NAME}.bin.p7b" | 92 | ln -sf "$base_name" "${DEPLOYDIR}/$type-${KERNEL_IMAGE_LINK_NAME}.bin.p7b" |
| 93 | ln -sf "$base_name" "${DEPLOYDIR}/$type.p7b" | 93 | ln -sf "$base_name" "${DEPLOYDIR}/$type.p7b" |
| 94 | fi | 94 | fi |
| 95 | done | 95 | done |
