From e54bfec2988b13b43a56a48adc9504b32b47dbd1 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Thu, 5 Sep 2024 19:42:45 +0000 Subject: [PATCH] layer.conf: Add truncate to HOSTTOOLS Recent mainline & stable kernels use `truncate` as part of the build process. As this tool is part of coreutils, we should be able to safely add this to HOSTTOOLS. Signed-off-by: Paul Barker --- conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index dce8c13..50d4588 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,3 +18,7 @@ LAYERDEPENDS_meta-linux-mainline = "core" # We use patch files directly from kernel.org which do not include the # Upstream-Status line required by Yocto Project. ERROR_QA:remove:layer-meta-linux-mainline = "patch-status" + +# Newer kernels use `truncate` during the build. As this is provided by +# coreutils, it should be safe to depend on this existing in the host system. +HOSTTOOLS += "truncate"