* [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
@ 2024-04-18 11:03 Rakesh Kumar
2024-04-18 20:27 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Rakesh Kumar @ 2024-04-18 11:03 UTC (permalink / raw)
To: cip-dev; +Cc: Rakesh Kumar
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 <kumar.rakesh@siemens.com>
---
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
-}
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
2024-04-18 11:03 [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control Rakesh Kumar
@ 2024-04-18 20:27 ` Jan Kiszka
2024-04-19 7:22 ` [cip-dev] " Gylstorff Quirin
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2024-04-18 20:27 UTC (permalink / raw)
To: Rakesh Kumar, cip-dev
On 18.04.24 13:03, Rakesh Kumar wrote:
> 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 <kumar.rakesh@siemens.com>
> ---
> 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
> -}
Thanks for finding this. Can expand your patch to cover the other two
cases we have in-tree as well?
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cip-dev] [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
2024-04-18 20:27 ` Jan Kiszka
@ 2024-04-19 7:22 ` Gylstorff Quirin
2024-04-19 7:30 ` Gylstorff Quirin
0 siblings, 1 reply; 5+ messages in thread
From: Gylstorff Quirin @ 2024-04-19 7:22 UTC (permalink / raw)
To: cip-dev, Rakesh Kumar, Kiszka, Jan (CT RDA IOT SES-DE)
On 4/18/24 10:27 PM, Jan Kiszka via lists.cip-project.org wrote:
> On 18.04.24 13:03, Rakesh Kumar wrote:
>> 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 <kumar.rakesh@siemens.com>
>> ---
>> 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
>> -}
>
> Thanks for finding this. Can expand your patch to cover the other two
> cases we have in-tree as well?
This has no impact without updating ISAR first. NACK until then.
Quirin
>
> Jan
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#15583): https://lists.cip-project.org/g/cip-dev/message/15583
> Mute This Topic: https://lists.cip-project.org/mt/105596040/1753640
> Group Owner: cip-dev+owner@lists.cip-project.org
> Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129121/1753640/1405269326/xyzzy [quirin.gylstorff@siemens.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cip-dev] [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
2024-04-19 7:22 ` [cip-dev] " Gylstorff Quirin
@ 2024-04-19 7:30 ` Gylstorff Quirin
0 siblings, 0 replies; 5+ messages in thread
From: Gylstorff Quirin @ 2024-04-19 7:30 UTC (permalink / raw)
To: cip-dev, Rakesh Kumar, Kiszka, Jan (CT RDA IOT SES-DE)
On 4/19/24 9:22 AM, Quirin Gylstorff via lists.cip-project.org wrote:
>
>
> On 4/18/24 10:27 PM, Jan Kiszka via lists.cip-project.org wrote:
>> On 18.04.24 13:03, Rakesh Kumar wrote:
>>> 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 <kumar.rakesh@siemens.com>
>>> ---
>>> 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
>>> -}
>>
>> Thanks for finding this. Can expand your patch to cover the other two
>> cases we have in-tree as well?
>
> This has no impact without updating ISAR first. NACK until then.
We are using 0.10. DEBIAN PROVIDES is introduced with
4d0955547453e4303f1f274354a0fb6558a74fa9 after 0.10
> Quirin
>>
>> Jan
>>
>>
>>
>>
>>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#15584): https://lists.cip-project.org/g/cip-dev/message/15584
> Mute This Topic: https://lists.cip-project.org/mt/105596040/1753640
> Group Owner: cip-dev+owner@lists.cip-project.org
> Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129121/1753640/1405269326/xyzzy [quirin.gylstorff@siemens.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cip-dev] [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
2024-04-18 10:15 ` [isar-cip-core][PATCH v1 1/1] " Rakesh Kumar
@ 2024-04-19 5:32 ` Arjunan, Srinu
0 siblings, 0 replies; 5+ messages in thread
From: Arjunan, Srinu @ 2024-04-19 5:32 UTC (permalink / raw)
To: cip-dev; +Cc: Kumar, Rakesh
Please correct commit message , remove "ad", Moreover ISAR now supports the "DEBIAN_PROVIDES", why can't you directly use this variable to declare virtual packages to satisfy the dependencies.
Many thanks,
Srinu
-----Original Message-----
From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf Of Rakesh Kumar via lists.cip-project.org
Sent: 18 April 2024 15:45
To: cip-dev@lists.cip-project.org
Cc: Kumar, Rakesh (DI CTO FDS CES LX PBU RSOL 1) <kumar.rakesh@siemens.com>
Subject: [cip-dev] [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control
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 <kumar.rakesh@siemens.com>
---
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
-}
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-19 12:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 11:03 [isar-cip-core][PATCH v1 1/1] recipes-devtools/secure-boot-secrets: Resolve duplicate Provides in debian/control Rakesh Kumar
2024-04-18 20:27 ` Jan Kiszka
2024-04-19 7:22 ` [cip-dev] " Gylstorff Quirin
2024-04-19 7:30 ` Gylstorff Quirin
-- strict thread matches above, loose matches on Subject: below --
2024-04-18 10:15 [isar-cip-core][PATCH v1 0/1] " Rakesh Kumar
2024-04-18 10:15 ` [isar-cip-core][PATCH v1 1/1] " Rakesh Kumar
2024-04-19 5:32 ` [cip-dev] " Arjunan, Srinu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.