From ab3fdcc1f0f2e75a39d0b70796f97267c41dc2d0 Mon Sep 17 00:00:00 2001 From: Luciano Dittgen Date: Tue, 10 Nov 2026 15:20:04 -0300 Subject: [PATCH] html5-demo: Install the demo files with install instead of cp oelint-adv 9.11 reports 'cp' in do_install as an error (oelint.task.nocopy), which fails the layer's OE Lint check on master and on every pull request. Install each directory and file explicitly. The installed tree is unchanged: the same 54 entries with the same modes and sizes. Signed-off-by: Luciano Dittgen (cherry picked from commit cf69abc600884d48217995279fe54ba1ca4f639c) --- recipes-demos/html5-demo/html5-demo_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-demos/html5-demo/html5-demo_git.bb b/recipes-demos/html5-demo/html5-demo_git.bb index 8543027..22b2216 100644 --- a/recipes-demos/html5-demo/html5-demo_git.bb +++ b/recipes-demos/html5-demo/html5-demo_git.bb @@ -18,7 +18,9 @@ do_compile[noexec] = "1" do_install() { install -d ${D}${datadir}/${PN} - cp -rf ${S}/* ${D}${datadir}/${PN} + cd ${S} + find * -type d -exec install -d ${D}${datadir}/${PN}/{} \; + find * -type f -exec install -m 0644 {} ${D}${datadir}/${PN}/{} \; } FILES:${PN} += "${datadir}/${PN}"