public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: isar-users@googlegroups.com
Subject: [PATCH 1/1] remove the debian folder before copying the current one
Date: Sun, 18 Sep 2022 21:49:06 +0200	[thread overview]
Message-ID: <CAJGKYO7PXbnO2mrD2Di9-+wLPQj0mYoyc5Y17F-Qzt5COMxb9Q@mail.gmail.com> (raw)


[-- 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


             reply	other threads:[~2022-09-18 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-18 19:49 Roberto A. Foglietta [this message]
2022-09-23 13:21 ` Anton Mikanovich
2022-09-23 14:31   ` Roberto A. Foglietta
2022-09-28  9:20     ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJGKYO7PXbnO2mrD2Di9-+wLPQj0mYoyc5Y17F-Qzt5COMxb9Q@mail.gmail.com \
    --to=roberto.foglietta@gmail.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox