public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] remove the debian folder before copying the current one
@ 2022-09-18 19:49 Roberto A. Foglietta
  2022-09-23 13:21 ` Anton Mikanovich
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto A. Foglietta @ 2022-09-18 19:49 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 186 bytes --]

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-

[-- Attachment #1.2: Type: text/html, Size: 260 bytes --]

[-- Attachment #2: 0001-remove-previous-debian-folder-in-linux-module-module.patch --]
[-- Type: text/x-patch, Size: 924 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-28  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18 19:49 [PATCH 1/1] remove the debian folder before copying the current one Roberto A. Foglietta
2022-09-23 13:21 ` Anton Mikanovich
2022-09-23 14:31   ` Roberto A. Foglietta
2022-09-28  9:20     ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox