From 9b273d4aa6e60204b4df926e9bdf0071320e7bd9 Mon Sep 17 00:00:00 2001 From: Felix Radensky Date: Thu, 6 Jun 2019 19:28:49 +0300 Subject: [PATCH] linux-variscite: Remove redundunt devicetree-* symlinks --- recipes-kernel/linux/linux-variscite_4.14.78.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-kernel/linux/linux-variscite_4.14.78.bb b/recipes-kernel/linux/linux-variscite_4.14.78.bb index 9fb2d927..520544e9 100644 --- a/recipes-kernel/linux/linux-variscite_4.14.78.bb +++ b/recipes-kernel/linux/linux-variscite_4.14.78.bb @@ -33,6 +33,10 @@ do_copy_defconfig () { cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig } +pkg_postinst_kernel-devicetree_append () { + rm -f $D/boot/devicetree-* +} + pkg_postinst_kernel-devicetree_append_imx8m-var-dart () { cd $D/boot ln -s ${DEFAULT_DTB_PREFIX}-${DEFAULT_DTB}.dtb ${DEFAULT_DTB_PREFIX}.dtb