Skip to contentSkip to conversation

uboot-sign: Fix u-boot-nodtb symlinks

PATCH New Ying-Chun Liu (PaulLiu) 1 participant 1 message May 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uboot-sign: Fix u-boot-nodtb symlinks

When using u-boot-nodtb, the symlink didn't install correctly to the ${DEPLOYDIR}. This commit fixes this bug.

---
 meta/classes/uboot-sign.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/uboot-sign.bbclass +2 -2
index 6385a06c13..8beafff7c0 100644
@@ -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
Signature · 1 line
2.20.1