]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel.bbclass: Add force flag to rm calls
authorRyan Eatmon <reatmon@ti.com>
Tue, 10 Oct 2023 08:26:23 +0000 (09:26 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 16 Oct 2023 15:07:13 +0000 (05:07 -1000)
commit844faa7c51ae8ec0966e9c5c3f70a1dbf2222c21
tree22c5c2f51bcbc4b74e18838febb7df03e1f72318
parent47e270a4fd2e086b5ee9f38891f326ce505f2319
kernel.bbclass: Add force flag to rm calls

The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

(From OE-Core rev: 2e669bf797b15d803e7d6a700e449bdc467a4bcc)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backported from kirkstone commit 7e177848f97e.
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel.bbclass