From 366cc8b588860f2bd740ae8b644433e2bd5dfe1e Mon Sep 17 00:00:00 2001 From: Tobias Poganiuch <tobias.poganiuch@garz-fricke.com> Date: Wed, 11 May 2022 15:46:28 +0200 Subject: [PATCH] kernel: Disabled kernel symlinks In Yocto Kirkstone, a new way to create kernel symlinks was added. Since we use a FAT partition for the Kernel, symlinks are not supported. Disable the creation of symlinks. --- recipes-kernel/linux/linux-guf.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes-kernel/linux/linux-guf.inc b/recipes-kernel/linux/linux-guf.inc index e3da6528..76303e6a 100644 --- a/recipes-kernel/linux/linux-guf.inc +++ b/recipes-kernel/linux/linux-guf.inc @@ -14,10 +14,7 @@ EXTRA_OEMAKE += " 'DTC_FLAGS=-@' " # it generates the -- in the name KERNEL_ARTIFACT_NAME = "${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" -do_install:append() { - # Remove the links, we have a fat partition as /boot - find "${D}/${KERNEL_IMAGEDEST}/" -type l -exec rm -v {} \; -} +KERNEL_IMAGETYPE_SYMLINK = "0" do_configure:prepend:fng() { sed -i -e 's|# CONFIG_LOGO_GF_FNGSYSTEM_CLUT224 is not set|# CONFIG_LOGO_GF_CLUT224 is not set|' ${WORKDIR}/defconfig -- GitLab