* [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
* Re: [PATCH 1/1] remove the debian folder before copying the current one
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
0 siblings, 1 reply; 4+ messages in thread
From: Anton Mikanovich @ 2022-09-23 13:21 UTC (permalink / raw)
To: Roberto A. Foglietta, isar-users
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] remove the debian folder before copying the current one
2022-09-23 13:21 ` Anton Mikanovich
@ 2022-09-23 14:31 ` Roberto A. Foglietta
2022-09-28 9:20 ` Anton Mikanovich
0 siblings, 1 reply; 4+ messages in thread
From: Roberto A. Foglietta @ 2022-09-23 14:31 UTC (permalink / raw)
To: Anton Mikanovich; +Cc: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]
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-
[-- Attachment #1.2: Type: text/html, Size: 887 bytes --]
[-- Attachment #2: 0001-remove-previous-debian-folder-in-linux-module-module.patch --]
[-- Type: text/x-diff, Size: 995 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
improvement of linux-module/module.inc: remove previous debian folder
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