[1/1] remove the debian folder before copying the current one

Message ID CAJGKYO7PXbnO2mrD2Di9-+wLPQj0mYoyc5Y17F-Qzt5COMxb9Q@mail.gmail.com
State Accepted, archived
Headers show
Series [1/1] remove the debian folder before copying the current one | expand

Commit Message

Roberto A. Foglietta Sept. 18, 2022, 7:49 p.m. UTC
Hi all,

 this patch modify the kernel module include adding a debian folder removal
before copying the current. This is necessary in case the change includes
some removal.

 cheers, R-

Comments

Anton Mikanovich Sept. 23, 2022, 1:21 p.m. UTC | #1
18.09.2022 22:49, Roberto A. Foglietta wrote:
> Hi all,
>
>  this patch modify the kernel module include adding a debian folder 
> removal before copying the current. This is necessary in case the 
> change includes some removal.
>
>  cheers, R-

Hello Roberto,

Please add description part to the commits you've already send to the 
maillist.
This is needed to have all the information about fixed issues and reasoning
inside project's git.

More information about patches formatting can be found CONTRIBUTING.md.

We also recommend to send commits with 'git send-email' for easier inline
commenting.
Roberto A. Foglietta Sept. 23, 2022, 2:31 p.m. UTC | #2
Il Ven 23 Set 2022, 15:21 Anton Mikanovich <amikan@ilbers.de> ha scritto:

>
> Hello Roberto,
>
> Please add description part to the commits you've already send to the
> maillist.
> This is needed to have all the information about fixed issues and reasoning
> inside project's git.
>

Hello Anton,

 I modified the patch with notepad+ for windows and I hope, it will work.
At the moment this is the best that I can do. No, e-email on my development
machine. Sorry, R-
Anton Mikanovich Sept. 28, 2022, 9:20 a.m. UTC | #3
23.09.2022 17:31, Roberto A. Foglietta wrote:
> Hello Anton,
>
>  I modified the patch with notepad+ for windows and I hope, it will 
> work. At the moment this is the best that I can do. No, e-email on my 
> development machine. Sorry, R-

Applied to next, thanks.

Patch

From d4531bc38709627a5609d82fd223c7be5889f058 Mon Sep 17 00:00:00 2001
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Date: Sun, 18 Sep 2022 21:43:57 +0200
Subject: [PATCH] remove previous debian folder in linux-module/module.inc

Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
---
 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