Skip to content

Commit

Permalink
layer.conf: Add truncate to HOSTTOOLS
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pbrkr committed Sep 5, 2024
1 parent 47c1762 commit e54bfec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e54bfec

Please sign in to comment.