diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-dtb.inc')
-rw-r--r-- | meta/recipes-kernel/linux/linux-dtb.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index 772adcbced..651a19e4ae 100644 --- a/meta/recipes-kernel/linux/linux-dtb.inc +++ b/meta/recipes-kernel/linux/linux-dtb.inc | |||
@@ -59,7 +59,7 @@ pkg_postinst_kernel-devicetree () { | |||
59 | do | 59 | do |
60 | DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'` | 60 | DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'` |
61 | DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` | 61 | DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` |
62 | update-alternatives --install /${KERNEL_IMAGEDEST}/${DTB_BASE_NAME}.dtb ${DTB_BASE_NAME}.dtb devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true | 62 | update-alternatives --install /${KERNEL_IMAGEDEST}/${DTB_BASE_NAME}.dtb ${DTB_BASE_NAME}.dtb /boot/devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true |
63 | done | 63 | done |
64 | } | 64 | } |
65 | 65 | ||
@@ -69,6 +69,6 @@ pkg_postrm_kernel-devicetree () { | |||
69 | do | 69 | do |
70 | DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'` | 70 | DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'` |
71 | DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` | 71 | DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` |
72 | update-alternatives --remove ${DTB_BASE_NAME}.dtb devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true | 72 | update-alternatives --remove ${DTB_BASE_NAME}.dtb /boot/devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true |
73 | done | 73 | done |
74 | } | 74 | } |