From d4531bc38709627a5609d82fd223c7be5889f058 Mon Sep 17 00:00:00 2001 From: "Roberto A. Foglietta" Date: Sun, 18 Sep 2022 21:43:57 +0200 Subject: [PATCH] remove previous debian folder in linux-module/module.inc improvement of linux-module/module.inc: remove previous debian folder Signed-off-by: Roberto A. Foglietta --- meta/recipes-kernel/linux-module/module.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes-kernel/linux-module/module.inc index b20ec32..b04f5f1 100644 --- a/meta/recipes-kernel/linux-module/module.inc +++ b/meta/recipes-kernel/linux-module/module.inc @@ -30,6 +30,7 @@ TEMPLATE_FILES = "debian/control.tmpl \ TEMPLATE_VARS += "KERNEL_NAME KERNEL_TYPE KERNEL_IMAGE_PKG KERNEL_HEADERS_PKG DEBIAN_BUILD_DEPENDS PN" do_prepare_build() { + rm -rf ${S}/debian cp -r ${WORKDIR}/debian ${S}/ for module in ${AUTOLOAD}; do -- 2.34.1