From patchwork Thu Apr 18 11:03:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Kumar X-Patchwork-Id: 13634558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D00BC4345F for ; Thu, 18 Apr 2024 11:41:53 +0000 (UTC) Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net [185.136.64.225]) by mx.groups.io with SMTP id smtpd.web10.10089.1713438257166499009 for ; Thu, 18 Apr 2024 04:04:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=kumar.rakesh@siemens.com header.s=fm1 header.b=jVX5U98G; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-1325885-202404181104143a729a385f042b8924-gesto5@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 202404181104143a729a385f042b8924 for ; Thu, 18 Apr 2024 13:04:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=kumar.rakesh@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=GbulTSWk53XQSRmn0z2Z0qf+WL2sdhSHggk6+27naXY=; b=jVX5U98G4dMH63RPKqdKlRWNaqlpzDA1IuWqnNzBmiC1xIzq6xje1Gjnly5XJNY3rl5Qwx 0Dzn5g70hdqjLPTMd8iRsah57d4EWo6ZIIQZU4Sw4KGk2sKcIrLwx6GcEHoQn17b7ZXrBibU 9q0cepTK8JY6f+vPGIc0hLBjgM72c=; From: Rakesh Kumar To: cip-dev@lists.cip-project.org Cc: Rakesh Kumar Subject: [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control Date: Thu, 18 Apr 2024 16:33:53 +0530 Message-Id: <20240418110353.584628-1-kumar.rakesh@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1325885:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Apr 2024 11:41:53 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/15578 Previously, the debian/control file contained a duplicate Provides line, which caused a build failure ad below | DEBUG: Executing shell function do_dpkg_source | dpkg-source: error: syntax error in secure-boot-custmpk-0.1/debian/control at line 16: | duplicate field Provides found Use DEBIAN_PROVIDES to resolve the duplicate Provides problem to ensure that the build process completes successfully. Signed-off-by: Rakesh Kumar --- recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc index 76233b3..559d295 100644 --- a/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc +++ b/recipes-devtools/secure-boot-secrets/secure-boot-secrets.inc @@ -12,6 +12,7 @@ inherit dpkg-raw PROVIDES += "secure-boot-secrets" +DEBIAN_PROVIDES = "${PROVIDES}" SB_KEY ??= "" SB_CERT ??= "" @@ -29,6 +30,3 @@ do_install() { install -m 0700 ${WORKDIR}/${SB_CERT} ${TARGET}/secure-boot.pem } -do_prepare_build:append() { - echo "Provides: secure-boot-secrets" >> ${S}/debian/control -}