From patchwork Mon Dec 16 11:20:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 3985 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:13:00 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f186.google.com (mail-pl1-f186.google.com [209.85.214.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4BGBCwI1024647 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 16 Dec 2024 12:12:59 +0100 Received: by mail-pl1-f186.google.com with SMTP id d9443c01a7336-2162259a5dcsf57930745ad.3 for ; Mon, 16 Dec 2024 03:12:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1734347572; cv=pass; d=google.com; s=arc-20240605; b=PcJxkiECj+3uzDEtyrfvFrZ1801L++9pnYqNzJywzIhMimYf+c4E+QhpDWkSCGAs/Z NoFMFkWCz3Ggoguyc58A3RQcgBHTvUa/uDI4c5pg2nGNZGxJ9MIZACZKM10BR0nPzYmE hWNksWBjYOnXAXKdFtZk1J6pKc6t1D6bwBpaKPEL9bTvewMLZFtrgI4prtMhzdeDLdb/ eZ6Cf3mYVk6ysWQ8fZ+TTZ1bvdoGxTTza+zXtQ8cXcjASTDdZL8NfkaGni1v+bPt/Qe7 yp3eQM7nl+GOyqZ6+hQxnyfx4Ax2Nq6nMYc+dwqDRhkoI26HGnvhKpdFa1j9UlZ2Npy3 IdCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dfqdNY+69CjMR6VN++a/exi7ELzuuib1ERev1R6KHFE=; fh=7zSKrC8PmYEq8S9zE+iKJsitpLbhq3J8ZBqN+Viqu+Y=; b=EejmPkZ2TmFp0BT5d2itZxZosmRNTWG55Ki+9lkHIPk02k4VAkRMs/yv2iMYM9xz6U a7B54cx2TlWIWACmDwgO5UVl0h2cWg0J3IGPub21GFg6y1JqclEHmjnETPnCvCGdOzTW zdhJI6mwa7sbOTJcPl1t7L4NaYh9X0CssmYzXhUOp7I4njTQP+k4fYihrLVWNNCD+smI /fYSAApaO8WCcTddaXslA9JDwiZiL7lvZ7BKvuggq1GKmL0x8U8E3gE0OVIcTojjX+Ch LOG7Agn5hgqCdzAXfMYvIhZaLfXzz0ukrAcr5hbMn/OprjxnifTwkC/mqOcTLjx+o03W NR3Q==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=enY6z5LS; spf=pass (google.com: domain of fm-1324425-202412161112485bf2d12f36e6be5f29-zhn9qa@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-202412161112485bf2d12f36e6be5f29-ZHN9QA@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1734347572; x=1734952372; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=dfqdNY+69CjMR6VN++a/exi7ELzuuib1ERev1R6KHFE=; b=moGQpJI1/uh84z6LtyjACcEqQxNS8ycrgDpAfkWdbcCnqHIpAiJra54/X/NVkjbtlP gFkxcDgeTg7dZyLyBZ/KpauOLVW6eeZN29bL4edeJ6XFAj6ouYIQia5SHJeNbQ+bgsxH KUQ29Uvd0gkMYla7nzihPW8SZLBqNonszdPr9gHPNaAv7jp3Q5r3Y3S3MJRVw7VpyZHS GXVKT7FWYNUoivPv9dakTrHPpD+9CqSSgLFgvMdaDV1ZcYNBk8BnA/Yv4u6Ad/C0AsVi GA1YbppHiMKl+WyHWNTGzMK6Tou4idg+KN0NW6uoILS7l+bPOBWOJzUGoZgluBSbkvx8 EkCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734347572; x=1734952372; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dfqdNY+69CjMR6VN++a/exi7ELzuuib1ERev1R6KHFE=; b=c5yB4axDwF/uPYOt1OQH0fnTIGBSeZ6qEbu++rMJ6D+gFtkoV0/DpLi32AQavxdasi NFt2E5D+M3vqFC7HVTKgsAjOdkxygmu8S8OWTRl6hnbKZTvfxLw+75imNlpD9F1YR+Pr /pWarusO6+CbsJ+bCHkcJYK0LieE6cA/RFekJqIT9RYZbilOoH5Pa3JqVY2lAQxEgXaC yL7jnYk0EBgtYVpwcjCZqOstnGkuwPvwadkcSt0vLo4ruTTGFnTiUWeOPuxuK1DnYo1v k51A6H3VGra6RYsSCDdR3YLT2TeLobe2URjNLcQRXZEBqUpwXElbr/EV93DTeAPOkZb0 7tkQ== X-Forwarded-Encrypted: i=2; AJvYcCWNKwLiyOOUwBZ3Sdxh9Aw7adIefKxgZngZX2JVEtlj/3pAYGEHWsICfQntS3YTaSPFoHtRFx8=@isar-build.org X-Gm-Message-State: AOJu0YzZC8N4A+jwBDUgcrt99MiEobuuYUfpP9QtpRZ4Qfgkkdv8W6sb 1WJMXUfzlgLvQwmYp6ns2VC5aT7gbkqs/oi7SgXbuDcZFW4llhlI X-Google-Smtp-Source: AGHT+IEAqDGfaGO8nxjHCdNst+FM/AFbWbzYkSGaOA7iodeCpbfYJsjppVxslm7R/UZ1M9bQ54+oZQ== X-Received: by 2002:a17:902:e881:b0:216:48f4:4f20 with SMTP id d9443c01a7336-218929bdef0mr155584755ad.16.1734347572282; Mon, 16 Dec 2024 03:12:52 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:903:44ca:b0:212:4ad7:8897 with SMTP id d9443c01a7336-218954a2bcals4044955ad.2.-pod-prod-08-us; Mon, 16 Dec 2024 03:12:51 -0800 (PST) X-Received: by 2002:a17:902:fc44:b0:216:2bd7:1c36 with SMTP id d9443c01a7336-21892997af4mr205809545ad.1.1734347570974; Mon, 16 Dec 2024 03:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734347570; cv=none; d=google.com; s=arc-20240605; b=BAWIZTaoQMhDSeDl2stQUyzr+MWvO6HvQzFprgh2LYQvjmzBKKZWWhWGwb6vTYtZ0b w9eoL62y9PPggy2Y6aSlPgXUM/zdUK6LJEqiAjV7J8xuKE8dcPNY3pz99hPOogQZXgJa fgRsGOn4UE/hbCU0nk28IzOEfCSaxn5KsCv/EKyXMlNgQDZ0GRDJu//+kAH4tQ1Imw0D 8FTSUhTtSAN/U6vH0g7uoUvA4pfN3tUgsodtwWKoHyv/dV8OlKIzoj1x3hIDRdhNHMrE ScCVV+VCMCiD1JQ37LyfLHhkOrvikE7kV8d0VhjisUfKUmgijPez4R7RdeFNp8C04Tox npGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=zlsQxx7+tOUZ3Xf1fKaufwS2XCaMM/NfDVWuJhSZ9sk=; fh=tYRamRS5iuEHWVjqCoVkiuyGoMPBZZNVIbEUIOs4qyE=; b=RdY8NzUUXoK3oi8bfnfSNuKBcgCF4vPsYFJUmaCz9mmBV7TtEG6zDLgH7RZw03a67y NY9N9bxjWyP2GEcdxJR2s3eEzYzMdzjN7q8nQSVR5Dfyo8OvAJqdep6wB4yH5HZPLNgM 12+kc4JQTQkjONgPyiTkNckjx7UAK1+PPs0iQKfTUcu7i5fvwrzIXb/WS8CMd5aFnxx1 iL0RFk5pKGF79fjcgtpBt1j4gXI6NXydlIiCubLpl0feY8odVC6nB6Zdric+ykVhGW3w ftwCjigZ1MJdlL+HQLCu2/cqetMBw8EX5VaVwLp1gOoRHK5rN6BO3kS8jb6CmE/lDLLh yoNg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=enY6z5LS; spf=pass (google.com: domain of fm-1324425-202412161112485bf2d12f36e6be5f29-zhn9qa@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-202412161112485bf2d12f36e6be5f29-ZHN9QA@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-218a1e14cf2si2349105ad.7.2024.12.16.03.12.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2024 03:12:50 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1324425-202412161112485bf2d12f36e6be5f29-zhn9qa@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 202412161112485bf2d12f36e6be5f29 for ; Mon, 16 Dec 2024 12:12:48 +0100 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: ubely@ilbers.de, srinuvasan Subject: [PATCH v3] meta/recipes-kernel: use debhelper-compat to generate compat file Date: Mon, 16 Dec 2024 16:50:50 +0530 Message-Id: <20241216112050.1286204-1-srinuvasan.a@siemens.com> In-Reply-To: <47c19961404c3a89b9b691c6bd62d53477515adc.camel@ilbers.de> References: <47c19961404c3a89b9b691c6bd62d53477515adc.camel@ilbers.de> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=enY6z5LS; spf=pass (google.com: domain of fm-1324425-202412161112485bf2d12f36e6be5f29-zhn9qa@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-202412161112485bf2d12f36e6be5f29-ZHN9QA@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.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.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: srinuvasan debhelper supports the versions debhelper-compat (= 9) till debhelper-compat (= 13), hence set appropriate debian helper compatible version in the 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 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 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 (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS} Maintainer: ISAR project 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 += " \ SIGNATURE_KEYFILE \ SIGNATURE_CERTFILE \ SIGNATURE_HASHFN \ - PN" + PN \ + DEBIAN_COMPAT" # Add custom cflags to the kernel build KCFLAGS ?= "-fdebug-prefix-map=${CURDIR}=. -fmacro-prefix-map=${CURDIR}=." diff --git a/meta/recipes-kernel/linux/files/debian/compat 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 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 (= ${DEBIAN_COMPAT}), bc, kmod, cpio, ${KBUILD_DEPENDS} Homepage: http://www.kernel.org/ 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 += " \ HEADERS_INSTALL_EXTRA \ ISAR_ENABLE_COMPAT_ARCH \ COMPAT_DISTRO_ARCH \ + DEBIAN_COMPAT \ " inherit dpkg