All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
@ 2022-05-24 14:57 Quirin Gylstorff
  2022-05-24 15:07 ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Quirin Gylstorff @ 2022-05-24 14:57 UTC (permalink / raw)
  To: cip-dev, jan.kiszka

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This fixes the build error:
```
ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi returned '1' instead of 0
output: cp: cannot stat '/usr/share/efibootguard/efibootguardx64.efi': No such file or directory
```

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py b/scripts/lib/wic/plugins/source/efibootguard-efi.py
index e1411cb..a01e484 100644
--- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
+++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
@@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
         }
 
         distro_arch = get_bitbake_var("DISTRO_ARCH")
-        bootloader = "/usr/share/efibootguard/efibootguard{}.efi".format(
-            distro_to_efi_arch[distro_arch])
+        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
+        bootloader = "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
+            rootfs_path=rootfs_path,
+            efiarch=distro_to_efi_arch[distro_arch])
         part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
                                              part.label,
                                              part.lineno)
-- 
2.35.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 14:57 [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary Quirin Gylstorff
@ 2022-05-24 15:07 ` Jan Kiszka
  2022-05-24 15:23   ` Gylstorff Quirin
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Kiszka @ 2022-05-24 15:07 UTC (permalink / raw)
  To: Quirin Gylstorff, cip-dev

On 24.05.22 16:57, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> This fixes the build error:
> ```
> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi returned '1' instead of 0
> output: cp: cannot stat '/usr/share/efibootguard/efibootguardx64.efi': No such file or directory
> ```
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>  scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py b/scripts/lib/wic/plugins/source/efibootguard-efi.py
> index e1411cb..a01e484 100644
> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>          }
>  
>          distro_arch = get_bitbake_var("DISTRO_ARCH")
> -        bootloader = "/usr/share/efibootguard/efibootguard{}.efi".format(
> -            distro_to_efi_arch[distro_arch])
> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
> +        bootloader = "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
> +            rootfs_path=rootfs_path,
> +            efiarch=distro_to_efi_arch[distro_arch])
>          part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>                                               part.label,
>                                               part.lineno)

Makes sense in first sight - but why did it work so far? Or did I miss
to test one of the two cases (signed/unsigned)? Did you test both?

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 15:07 ` Jan Kiszka
@ 2022-05-24 15:23   ` Gylstorff Quirin
  2022-05-24 15:38     ` Gylstorff Quirin
  0 siblings, 1 reply; 7+ messages in thread
From: Gylstorff Quirin @ 2022-05-24 15:23 UTC (permalink / raw)
  To: Jan Kiszka, cip-dev



On 5/24/22 17:07, Jan Kiszka wrote:
> On 24.05.22 16:57, Quirin Gylstorff wrote:
>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>
>> This fixes the build error:
>> ```
>> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi returned '1' instead of 0
>> output: cp: cannot stat '/usr/share/efibootguard/efibootguardx64.efi': No such file or directory
>> ```
>>
>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>> ---
>>   scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>>   1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>> index e1411cb..a01e484 100644
>> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>>           }
>>   
>>           distro_arch = get_bitbake_var("DISTRO_ARCH")
>> -        bootloader = "/usr/share/efibootguard/efibootguard{}.efi".format(
>> -            distro_to_efi_arch[distro_arch])
>> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
>> +        bootloader = "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
>> +            rootfs_path=rootfs_path,
>> +            efiarch=distro_to_efi_arch[distro_arch])
>>           part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>>                                                part.label,
>>                                                part.lineno)
> 
> Makes sense in first sight - but why did it work so far? Or did I miss
> to test one of the two cases (signed/unsigned)? Did you test both?
> 
> Jan
> 
I am still try to find the reason why it work in isar-cip-core. The 
error occured in a downstream project.

Quirin



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 15:23   ` Gylstorff Quirin
@ 2022-05-24 15:38     ` Gylstorff Quirin
  2022-05-24 15:50       ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Gylstorff Quirin @ 2022-05-24 15:38 UTC (permalink / raw)
  To: cip-dev, Jan Kiszka



On 5/24/22 17:23, Quirin Gylstorff via lists.cip-project.org wrote:
> 
> 
> On 5/24/22 17:07, Jan Kiszka wrote:
>> On 24.05.22 16:57, Quirin Gylstorff wrote:
>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>
>>> This fixes the build error:
>>> ```
>>> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi 
>>> /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi 
>>> returned '1' instead of 0
>>> output: cp: cannot stat 
>>> '/usr/share/efibootguard/efibootguardx64.efi': No such file or directory
>>> ```
>>>
>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>> ---
>>>   scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>>>   1 file changed, 4 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py 
>>> b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>> index e1411cb..a01e484 100644
>>> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>>>           }
>>>           distro_arch = get_bitbake_var("DISTRO_ARCH")
>>> -        bootloader = 
>>> "/usr/share/efibootguard/efibootguard{}.efi".format(
>>> -            distro_to_efi_arch[distro_arch])
>>> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
>>> +        bootloader = 
>>> "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
>>> +            rootfs_path=rootfs_path,
>>> +            efiarch=distro_to_efi_arch[distro_arch])
>>>           part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>>>                                                part.label,
>>>                                                part.lineno)
>>
>> Makes sense in first sight - but why did it work so far? Or did I miss
>> to test one of the two cases (signed/unsigned)? Did you test both?
>>
>> Jan
>>
> I am still try to find the reason why it work in isar-cip-core. The 
> error occured in a downstream project.

In isar-cip-core the error never occured as we install `efibootguard`
as a dependency for wic[1].

efibootguard-boot uses the same logic[2] to access the kernel stub.


We should decide which is the correct way. I would prefer that we take 
both stubs from the buildchroot.

[1]: 
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/kas/opt/efibootguard.yml#L24

[2]: 
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/scripts/lib/wic/plugins/source/efibootguard-boot.py#L190

Quirin


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 15:38     ` Gylstorff Quirin
@ 2022-05-24 15:50       ` Jan Kiszka
  2022-05-24 16:03         ` Gylstorff Quirin
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Kiszka @ 2022-05-24 15:50 UTC (permalink / raw)
  To: Gylstorff Quirin, cip-dev

On 24.05.22 17:38, Gylstorff Quirin wrote:
> 
> 
> On 5/24/22 17:23, Quirin Gylstorff via lists.cip-project.org wrote:
>>
>>
>> On 5/24/22 17:07, Jan Kiszka wrote:
>>> On 24.05.22 16:57, Quirin Gylstorff wrote:
>>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>
>>>> This fixes the build error:
>>>> ```
>>>> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi
>>>> /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi
>>>> returned '1' instead of 0
>>>> output: cp: cannot stat
>>>> '/usr/share/efibootguard/efibootguardx64.efi': No such file or
>>>> directory
>>>> ```
>>>>
>>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>> ---
>>>>   scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>>>>   1 file changed, 4 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>> b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>> index e1411cb..a01e484 100644
>>>> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>>>>           }
>>>>           distro_arch = get_bitbake_var("DISTRO_ARCH")
>>>> -        bootloader =
>>>> "/usr/share/efibootguard/efibootguard{}.efi".format(
>>>> -            distro_to_efi_arch[distro_arch])
>>>> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
>>>> +        bootloader =
>>>> "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
>>>>
>>>> +            rootfs_path=rootfs_path,
>>>> +            efiarch=distro_to_efi_arch[distro_arch])
>>>>           part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>>>>                                                part.label,
>>>>                                                part.lineno)
>>>
>>> Makes sense in first sight - but why did it work so far? Or did I miss
>>> to test one of the two cases (signed/unsigned)? Did you test both?
>>>
>>> Jan
>>>
>> I am still try to find the reason why it work in isar-cip-core. The
>> error occured in a downstream project.
> 
> In isar-cip-core the error never occured as we install `efibootguard`
> as a dependency for wic[1].
> 
> efibootguard-boot uses the same logic[2] to access the kernel stub.
> 
> 
> We should decide which is the correct way. I would prefer that we take
> both stubs from the buildchroot.
> 

Yes, the preferred source for bootloader artifacts should be the
buildchroot and NOT that target image. We are currently installing more
on the target as practically needed. If that should ever change, things
shouldn't break here at plugin level.

Jan

> [1]:
> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/kas/opt/efibootguard.yml#L24
> 
> [2]:
> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/scripts/lib/wic/plugins/source/efibootguard-boot.py#L190
> 
> Quirin

-- 
Siemens AG, Technology
Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 15:50       ` Jan Kiszka
@ 2022-05-24 16:03         ` Gylstorff Quirin
  2022-05-24 16:09           ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Gylstorff Quirin @ 2022-05-24 16:03 UTC (permalink / raw)
  To: Jan Kiszka, cip-dev



On 5/24/22 17:50, Jan Kiszka wrote:
> On 24.05.22 17:38, Gylstorff Quirin wrote:
>>
>>
>> On 5/24/22 17:23, Quirin Gylstorff via lists.cip-project.org wrote:
>>>
>>>
>>> On 5/24/22 17:07, Jan Kiszka wrote:
>>>> On 24.05.22 16:57, Quirin Gylstorff wrote:
>>>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>>
>>>>> This fixes the build error:
>>>>> ```
>>>>> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi
>>>>> /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi
>>>>> returned '1' instead of 0
>>>>> output: cp: cannot stat
>>>>> '/usr/share/efibootguard/efibootguardx64.efi': No such file or
>>>>> directory
>>>>> ```
>>>>>
>>>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>> ---
>>>>>    scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>>>>>    1 file changed, 4 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>> b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>> index e1411cb..a01e484 100644
>>>>> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>>>>>            }
>>>>>            distro_arch = get_bitbake_var("DISTRO_ARCH")
>>>>> -        bootloader =
>>>>> "/usr/share/efibootguard/efibootguard{}.efi".format(
>>>>> -            distro_to_efi_arch[distro_arch])
>>>>> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
>>>>> +        bootloader =
>>>>> "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
>>>>>
>>>>> +            rootfs_path=rootfs_path,
>>>>> +            efiarch=distro_to_efi_arch[distro_arch])
>>>>>            part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>>>>>                                                 part.label,
>>>>>                                                 part.lineno)
>>>>
>>>> Makes sense in first sight - but why did it work so far? Or did I miss
>>>> to test one of the two cases (signed/unsigned)? Did you test both?
>>>>
>>>> Jan
>>>>
>>> I am still try to find the reason why it work in isar-cip-core. The
>>> error occured in a downstream project.
>>
>> In isar-cip-core the error never occured as we install `efibootguard`
>> as a dependency for wic[1].
>>
>> efibootguard-boot uses the same logic[2] to access the kernel stub.
>>
>>
>> We should decide which is the correct way. I would prefer that we take
>> both stubs from the buildchroot.
>>
> 
> Yes, the preferred source for bootloader artifacts should be the
> buildchroot and NOT that target image. We are currently installing more
> on the target as practically needed. If that should ever change, things
> shouldn't break here at plugin level.
> 
> Jan
> 
>> [1]:
>> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/kas/opt/efibootguard.yml#L24
>>
>> [2]:
>> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/scripts/lib/wic/plugins/source/efibootguard-boot.py#L190
>>
>> Quirin
> 


Should we move or reuse the files from salsa[3]? There the binaries are 
part of the dev package[4].

[3]: https://salsa.debian.org/debian/efibootguard/
[4]: 
https://salsa.debian.org/debian/efibootguard/-/blob/master/debian/libebgenv-dev.install

Quirin


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary
  2022-05-24 16:03         ` Gylstorff Quirin
@ 2022-05-24 16:09           ` Jan Kiszka
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Kiszka @ 2022-05-24 16:09 UTC (permalink / raw)
  To: Gylstorff Quirin, cip-dev

On 24.05.22 18:03, Gylstorff Quirin wrote:
> 
> 
> On 5/24/22 17:50, Jan Kiszka wrote:
>> On 24.05.22 17:38, Gylstorff Quirin wrote:
>>>
>>>
>>> On 5/24/22 17:23, Quirin Gylstorff via lists.cip-project.org wrote:
>>>>
>>>>
>>>> On 5/24/22 17:07, Jan Kiszka wrote:
>>>>> On 24.05.22 16:57, Quirin Gylstorff wrote:
>>>>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>>>
>>>>>> This fixes the build error:
>>>>>> ```
>>>>>> ERROR: _exec_cmd: cp /usr/share/efibootguard/efibootguardx64.efi
>>>>>> /tmp/tmp.1Y4utA1zC2/sentron-product-sentron-sentron.wic/tmp.wic.ampnawp6/bootx64.efi
>>>>>>
>>>>>> returned '1' instead of 0
>>>>>> output: cp: cannot stat
>>>>>> '/usr/share/efibootguard/efibootguardx64.efi': No such file or
>>>>>> directory
>>>>>> ```
>>>>>>
>>>>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>>> ---
>>>>>>    scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++--
>>>>>>    1 file changed, 4 insertions(+), 2 deletions(-)
>>>>>>
>>>>>> diff --git a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>>> b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>>> index e1411cb..a01e484 100644
>>>>>> --- a/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>>> +++ b/scripts/lib/wic/plugins/source/efibootguard-efi.py
>>>>>> @@ -59,8 +59,10 @@ class EfibootguardEFIPlugin(SourcePlugin):
>>>>>>            }
>>>>>>            distro_arch = get_bitbake_var("DISTRO_ARCH")
>>>>>> -        bootloader =
>>>>>> "/usr/share/efibootguard/efibootguard{}.efi".format(
>>>>>> -            distro_to_efi_arch[distro_arch])
>>>>>> +        rootfs_path = rootfs_dir.get('ROOTFS_DIR')
>>>>>> +        bootloader =
>>>>>> "{rootfs_path}/usr/share/efibootguard/efibootguard{efiarch}.efi".format(
>>>>>>
>>>>>>
>>>>>> +            rootfs_path=rootfs_path,
>>>>>> +            efiarch=distro_to_efi_arch[distro_arch])
>>>>>>            part_rootfs_dir = "%s/disk/%s.%s" % (cr_workdir,
>>>>>>                                                 part.label,
>>>>>>                                                 part.lineno)
>>>>>
>>>>> Makes sense in first sight - but why did it work so far? Or did I miss
>>>>> to test one of the two cases (signed/unsigned)? Did you test both?
>>>>>
>>>>> Jan
>>>>>
>>>> I am still try to find the reason why it work in isar-cip-core. The
>>>> error occured in a downstream project.
>>>
>>> In isar-cip-core the error never occured as we install `efibootguard`
>>> as a dependency for wic[1].
>>>
>>> efibootguard-boot uses the same logic[2] to access the kernel stub.
>>>
>>>
>>> We should decide which is the correct way. I would prefer that we take
>>> both stubs from the buildchroot.
>>>
>>
>> Yes, the preferred source for bootloader artifacts should be the
>> buildchroot and NOT that target image. We are currently installing more
>> on the target as practically needed. If that should ever change, things
>> shouldn't break here at plugin level.
>>
>> Jan
>>
>>> [1]:
>>> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/kas/opt/efibootguard.yml#L24
>>>
>>>
>>> [2]:
>>> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/blob/master/scripts/lib/wic/plugins/source/efibootguard-boot.py#L190
>>>
>>>
>>> Quirin
>>
> 
> 
> Should we move or reuse the files from salsa[3]? There the binaries are
> part of the dev package[4].
> 

I don't think sticking the bootloader into the dev package is correct or
in line with other bootloaders (grub-dev? system-dev?). The main ebg
package should contain the bootloader, and if we want to split the tools
from it, that should go into a separate package.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-24 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 14:57 [cip-dev][isar-cip-core][PATCH] efibootguard-efi: Use correct search path for the efibinary Quirin Gylstorff
2022-05-24 15:07 ` Jan Kiszka
2022-05-24 15:23   ` Gylstorff Quirin
2022-05-24 15:38     ` Gylstorff Quirin
2022-05-24 15:50       ` Jan Kiszka
2022-05-24 16:03         ` Gylstorff Quirin
2022-05-24 16:09           ` Jan Kiszka

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.