]> code.ossystems Code Review - openembedded-core.git/commitdiff
uboot-sign: Fix u-boot-nodtb symlinks
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>
Wed, 8 May 2019 10:53:25 +0000 (18:53 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sat, 11 May 2019 14:46:39 +0000 (07:46 -0700)
When using u-boot-nodtb, the symlink didn't install correctly to the
${DEPLOYDIR}. This commit fixes this bug.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/uboot-sign.bbclass

index 6385a06c13ef2bda5ced2e2d6676372c2e36965e..8beafff7c03ec38dd6e5975b698c676df10a7a1b 100644 (file)
@@ -53,8 +53,8 @@ concat_dtb_helper() {
 
        if [ -f "${UBOOT_NODTB_BINARY}" ]; then
                install ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
-               ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_SYMLINK}
-               ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_BINARY}
+               ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_SYMLINK}
+               ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY}
        fi
 
        # Concatenate U-Boot w/o DTB & DTB with public key