From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 16 Dec 2024 12:15:16 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f63.google.com (mail-qv1-f63.google.com [209.85.219.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4BGBFFlQ024733 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 16 Dec 2024 12:15:15 +0100 Received: by mail-qv1-f63.google.com with SMTP id 6a1803df08f44-6d92f0737besf61248926d6.1 for ; Mon, 16 Dec 2024 03:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1734347709; x=1734952509; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=I5uFOWLmAm/BGzR/xbIjewIDMgNt2qrncokwPFoi0Dk=; b=lYqGmomNQHG9tY0uMM19l7cZ85lQMhh3SDwI6f05RWDxEDdxzWf782HFexIworsvd2 0kFQthxfQryFo7Ws7PZrOPi+ThixWsgySC6AQxfnKgNxufipeZE9Qq6Nirw8wmgrJQop Puy0VsfEHyIF79TSsNaEbqQbZK08aL69BRoW+akzKfJFkeVo3c4qBhAmcYT5/r0X+fvS E2KyyRGi3XWiMlkvlr06n01ClsfPiYnaWZhrvg6QoS8D74morrbTe1bKailNWOSygi65 54THMPOgcHd/7+DRk5fgiUiQMkM3NU+8BUs6kxDQ5pFZ/6vjdbGn9DMJORt+MHyb7etw NF+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734347709; x=1734952509; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=I5uFOWLmAm/BGzR/xbIjewIDMgNt2qrncokwPFoi0Dk=; b=eP317CpRltHADJewbhys7Bw3AB5G6TpFSplE+IJaxMnpwLYcz0KUV1DvKYOt4Yq1iG 31LE5uP0l0VI036H+QS1npCZXI43Jz8JXEc9UDSe8ZQ82NSR0Q3OZjVcf8NxeJBgcg+J 8wBUKKAfMIl8ewjT3EhnQR69YjpxK4snjgZGPfw6dnuXW3MdXYaoJgcL1CspXfUeTqTB DzlEM7fPZoklqlX3lEgZku3DzJNDwPr4kTsOX/g33pCBVc1DGPeCojNTyAZY32D84gvq xf8AGnsQ5nxp4uUbLGSSI6WhljZgOiKOxAupSlYHzm93BFLhoNZCsfAtVLGr5WSMNc9Y /nZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734347709; x=1734952509; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=I5uFOWLmAm/BGzR/xbIjewIDMgNt2qrncokwPFoi0Dk=; b=caufAlz/oU1keFbO/jFn30xa0zoeuwT0iDb8Z9eYel5Yd0gyPz8RU3hPNh5MedxkBz fiHAcfTMa7hGE3eiEqqEdUHnDvex8aEmDUfsAiHiCQHQ6EXAZCz5Khk2Oq07oDk7DneE 6/u/dePlmNFwF5dD9CiKk/RlQOkw76AsBT7he4yp008Jsb7SeBj32vcSe1QavAYMaqRl wpD9GEY4nzCtV8/rsyTzS4wSWt9ML92tLxgs+E7JUNGb9KinCvrE4ct2K9yDin/fBsRK TFQFsAEwE3i4o5u3c4mCZPKc8t/GPQDx3HkNVQerK+uB5/GHny9bo8rfMxw4W7nJUEkR EEMg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCXfd2KYAdPNhSsKwUlQcV6H20JsxoIr3nV/DrJL58W9g6ntD/uqJjEdLNz+f3WzgrwUvf9j@ilbers.de X-Gm-Message-State: AOJu0Ywz7bl62ja+M9t6Blyg1vJQ7B5HPuaUDhU7iB7BxCHd5/8uHiZL jsFgwGnvFWCY/mIKaVajZl1tpnOOiYbRDjTQnoSaJ3RYZ1nLnUqX X-Google-Smtp-Source: AGHT+IGToRlK3vLpmd8nzKQy1CDrtG0M71csjROYyiytcO76Pg0fqIH5U33ZvhayZT1dNg/JFTSKqg== X-Received: by 2002:a05:6214:4119:b0:6d8:fa8a:af7e with SMTP id 6a1803df08f44-6dc8ca71e93mr158774416d6.12.1734347709324; Mon, 16 Dec 2024 03:15:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a0c:fde5:0:b0:6d9:1b14:f30b with SMTP id 6a1803df08f44-6dcbf5c1951ls51329336d6.2.-pod-prod-00-us; Mon, 16 Dec 2024 03:15:08 -0800 (PST) X-Received: by 2002:a05:620a:192a:b0:7b6:ea67:72d7 with SMTP id af79cd13be357-7b6f8c30739mr2135504285a.1.1734347708320; Mon, 16 Dec 2024 03:15:08 -0800 (PST) Date: Mon, 16 Dec 2024 03:15:07 -0800 (PST) From: Srinuvasan Arjunan To: isar-users Message-Id: In-Reply-To: <20241216112050.1286204-1-srinuvasan.a@siemens.com> References: <47c19961404c3a89b9b691c6bd62d53477515adc.camel@ilbers.de> <20241216112050.1286204-1-srinuvasan.a@siemens.com> Subject: Re: [PATCH v3] meta/recipes-kernel: use debhelper-compat to generate compat file MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_437604_1958745250.1734347707281" X-Original-Sender: srinuvasanasv@gmail.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: LLdO8/Z6Bdlm ------=_Part_437604_1958745250.1734347707281 Content-Type: multipart/alternative; boundary="----=_Part_437605_1386891810.1734347707281" ------=_Part_437605_1386891810.1734347707281 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Apologies for the delayed response, additionally added compat for=20 linux-modules too, thanks! =20 On Monday, December 16, 2024 at 4:42:52=E2=80=AFPM UTC+5:30 srinuv...@sieme= ns.com=20 wrote: > From: srinuvasan > > debhelper supports the versions debhelper-compat (=3D 9) till=20 > debhelper-compat (=3D 13), > hence set appropriate debian helper compatible version in the=20 > debian/control file and remove the debian/compat file. > > Signed-off-by: srinuvasan > --- > meta/recipes-kernel/linux-module/files/debian/compat | 1 - > meta/recipes-kernel/linux-module/files/debian/control.tmpl | 2 +- > meta/recipes-kernel/linux-module/module.inc | 3 ++- > meta/recipes-kernel/linux/files/debian/compat | 1 - > meta/recipes-kernel/linux/files/debian/control.tmpl | 2 +- > meta/recipes-kernel/linux/linux-custom.inc | 1 + > 6 files changed, 5 insertions(+), 5 deletions(-) > delete mode 100644 meta/recipes-kernel/linux-module/files/debian/compat > delete mode 100644 meta/recipes-kernel/linux/files/debian/compat > > diff --git a/meta/recipes-kernel/linux-module/files/debian/compat=20 > b/meta/recipes-kernel/linux-module/files/debian/compat > deleted file mode 100644 > index f599e28b..00000000 > --- a/meta/recipes-kernel/linux-module/files/debian/compat > +++ /dev/null > @@ -1 +0,0 @@ > -10 > diff --git a/meta/recipes-kernel/linux-module/files/debian/control.tmpl= =20 > b/meta/recipes-kernel/linux-module/files/debian/control.tmpl > index 67b08244..3ec419f6 100644 > --- a/meta/recipes-kernel/linux-module/files/debian/control.tmpl > +++ b/meta/recipes-kernel/linux-module/files/debian/control.tmpl > @@ -2,7 +2,7 @@ Source: ${PN} > Section: kernel > Priority: optional > Standards-Version: 3.9.6 > -Build-Depends: ${DEBIAN_BUILD_DEPENDS} > +Build-Depends: debhelper-compat (=3D ${DEBIAN_COMPAT}),=20 > ${DEBIAN_BUILD_DEPENDS} > Maintainer: ISAR project > > Package: ${PN} > diff --git a/meta/recipes-kernel/linux-module/module.inc=20 > b/meta/recipes-kernel/linux-module/module.inc > index 1734816b..3e8e5e7a 100644 > --- a/meta/recipes-kernel/linux-module/module.inc > +++ b/meta/recipes-kernel/linux-module/module.inc > @@ -57,7 +57,8 @@ TEMPLATE_VARS +=3D " \ > SIGNATURE_KEYFILE \ > SIGNATURE_CERTFILE \ > SIGNATURE_HASHFN \ > - PN" > + PN \ > + DEBIAN_COMPAT" > > # Add custom cflags to the kernel build > KCFLAGS ?=3D "-fdebug-prefix-map=3D${CURDIR}=3D. -fmacro-prefix-map=3D${C= URDIR}=3D." > diff --git a/meta/recipes-kernel/linux/files/debian/compat=20 > b/meta/recipes-kernel/linux/files/debian/compat > deleted file mode 100644 > index f599e28b..00000000 > --- a/meta/recipes-kernel/linux/files/debian/compat > +++ /dev/null > @@ -1 +0,0 @@ > -10 > diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl=20 > b/meta/recipes-kernel/linux/files/debian/control.tmpl > index 04ad0f4f..f4273ea9 100644 > --- a/meta/recipes-kernel/linux/files/debian/control.tmpl > +++ b/meta/recipes-kernel/linux/files/debian/control.tmpl > @@ -2,7 +2,7 @@ Source: linux-${KERNEL_NAME_PROVIDED} > Section: kernel > Priority: optional > Maintainer: ${MAINTAINER} > -Build-Depends: bc, kmod, cpio, ${KBUILD_DEPENDS} > +Build-Depends: debhelper-compat (=3D ${DEBIAN_COMPAT}), bc, kmod, cpio,= =20 > ${KBUILD_DEPENDS} > Homepage: http://www.kernel.org/ > > Package: linux-image-${KERNEL_NAME_PROVIDED} > diff --git a/meta/recipes-kernel/linux/linux-custom.inc=20 > b/meta/recipes-kernel/linux/linux-custom.inc > index bcdacaa9..e825d29b 100644 > --- a/meta/recipes-kernel/linux/linux-custom.inc > +++ b/meta/recipes-kernel/linux/linux-custom.inc > @@ -89,6 +89,7 @@ TEMPLATE_VARS +=3D " \ > HEADERS_INSTALL_EXTRA \ > ISAR_ENABLE_COMPAT_ARCH \ > COMPAT_DISTRO_ARCH \ > + DEBIAN_COMPAT \ > " > > inherit dpkg > --=20 > 2.39.5 > > --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= c09540d8-7fe6-4e7f-b526-a1b32a21ca0cn%40googlegroups.com. ------=_Part_437605_1386891810.1734347707281 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Apologies for the delayed response, additionally added compat for linux-mod= ules too, thanks!=C2=A0=C2=A0

On Monday, December 16, 2024 at 4:42:52=E2= =80=AFPM UTC+5:30 srinuv...@siemens.com wrote:
From: srinuvasan <srinuv...@siemens.com>

debhelper supports the versions debhelper-compat (=3D 9) till debhelper= -compat (=3D 13),
hence set appropriate debian helper compatible version in the debian/co= ntrol file and remove the debian/compat file.

Signed-off-by: srinuvasan <srinuv...@siemens.com>
---
meta/recipes-kernel/linux-module/files/debian/compat | 1 -
meta/recipes-kernel/linux-module/files/debian/control.tmpl | 2 +-
meta/recipes-kernel/linux-module/module.inc | 3 ++-
meta/recipes-kernel/linux/files/debian/compat | 1 -
meta/recipes-kernel/linux/files/debian/control.tmpl | 2 +-
meta/recipes-kernel/linux/linux-custom.inc | 1 +
6 files changed, 5 insertions(+), 5 deletions(-)
delete mode 100644 meta/recipes-kernel/linux-module/files/debian/compa= t
delete mode 100644 meta/recipes-kernel/linux/files/debian/compat

diff --git a/meta/recipes-kernel/linux-module/files/debian/compat b/met= a/recipes-kernel/linux-module/files/debian/compat
deleted file mode 100644
index f599e28b..00000000
--- a/meta/recipes-kernel/linux-module/files/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/meta/recipes-kernel/linux-module/files/debian/control.tmpl= b/meta/recipes-kernel/linux-module/files/debian/control.tmpl
index 67b08244..3ec419f6 100644
--- a/meta/recipes-kernel/linux-module/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux-module/files/debian/control.tmpl
@@ -2,7 +2,7 @@ Source: ${PN}
Section: kernel
Priority: optional
Standards-Version: 3.9.6
-Build-Depends: ${DEBIAN_BUILD_DEPENDS}
+Build-Depends: debhelper-compat (=3D ${DEBIAN_COMPAT}), ${DEBIAN_BUILD= _DEPENDS}
Maintainer: ISAR project <isar-...@googlegroups.com>
=20
Package: ${PN}
diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes= -kernel/linux-module/module.inc
index 1734816b..3e8e5e7a 100644
--- a/meta/recipes-kernel/linux-module/module.inc
+++ b/meta/recipes-kernel/linux-module/module.inc
@@ -57,7 +57,8 @@ TEMPLATE_VARS +=3D " \
SIGNATURE_KEYFILE \
SIGNATURE_CERTFILE \
SIGNATURE_HASHFN \
- PN"
+ PN \
+ DEBIAN_COMPAT"
=20
# Add custom cflags to the kernel build
KCFLAGS ?=3D "-fdebug-prefix-map=3D${CURDIR}=3D. -fmacro-prefix-m= ap=3D${CURDIR}=3D."
diff --git a/meta/recipes-kernel/linux/files/debian/compat b/meta/recip= es-kernel/linux/files/debian/compat
deleted file mode 100644
index f599e28b..00000000
--- a/meta/recipes-kernel/linux/files/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl b/meta= /recipes-kernel/linux/files/debian/control.tmpl
index 04ad0f4f..f4273ea9 100644
--- a/meta/recipes-kernel/linux/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/control.tmpl
@@ -2,7 +2,7 @@ Source: linux-${KERNEL_NAME_PROVIDED}
Section: kernel
Priority: optional
Maintainer: ${MAINTAINER}
-Build-Depends: bc, kmod, cpio, ${KBUILD_DEPENDS}
+Build-Depends: debhelper-compat (=3D ${DEBIAN_COMPAT}), bc, kmod, cpio= , ${KBUILD_DEPENDS}
Homepage: http://www.kernel.org/
=20
Package: linux-image-${KERNEL_NAME_PROVIDED}
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-= kernel/linux/linux-custom.inc
index bcdacaa9..e825d29b 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -89,6 +89,7 @@ TEMPLATE_VARS +=3D " \
HEADERS_INSTALL_EXTRA \
ISAR_ENABLE_COMPAT_ARCH \
COMPAT_DISTRO_ARCH \
+ DEBIAN_COMPAT \
"
=20
inherit dpkg
--=20
2.39.5

--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-use= rs/c09540d8-7fe6-4e7f-b526-a1b32a21ca0cn%40googlegroups.com.
------=_Part_437605_1386891810.1734347707281-- ------=_Part_437604_1958745250.1734347707281--