diff mbox series

[isar-cip-core,2/4] swupdate: use libubootenv

Message ID 20210118103558.18100-3-Quirin.Gylstorff@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Updates & Fixes | expand

Commit Message

Gylstorff Quirin Jan. 18, 2021, 10:35 a.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

libubootenv provides hardware independent access to u-boot environments.
This change conflicts with u-boot tools < 10.2019.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 classes/swupdate-config.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jan Kiszka Jan. 18, 2021, 11:23 a.m. UTC | #1
On 18.01.21 11:35, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> libubootenv provides hardware independent access to u-boot environments.
> This change conflicts with u-boot tools < 10.2019.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>  classes/swupdate-config.bbclass | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
> index 208d240..dd0317f 100644
> --- a/classes/swupdate-config.bbclass
> +++ b/classes/swupdate-config.bbclass
> @@ -46,8 +46,8 @@ KFEATURE_ubi[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_ubi.snippet"
>  KFEATURE_DEPS[ubi] = "mtd"
>  
>  KFEATURE_u-boot = ""
> -KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "u-boot-${MACHINE}-dev"
> -KFEATURE_u-boot[DEBIAN_DEPENDS] = "u-boot-tools"
> +KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "libubootenv-dev"
> +KFEATURE_u-boot[DEBIAN_DEPENDS] = "libubootenv-tool, u-boot-tools"
>  KFEATURE_u-boot[DEPENDS] = "${U_BOOT}"
>  KFEATURE_u-boot[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_u-boot.snippet"
>  
> 

The isar version we have at this point already supports that?

Jan
Gylstorff Quirin Jan. 18, 2021, 2:10 p.m. UTC | #2
On 1/18/21 12:23 PM, Jan Kiszka wrote:
> On 18.01.21 11:35, Q. Gylstorff wrote:
>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>
>> libubootenv provides hardware independent access to u-boot environments.
>> This change conflicts with u-boot tools < 10.2019.
>>
>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>> ---
>>   classes/swupdate-config.bbclass | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
>> index 208d240..dd0317f 100644
>> --- a/classes/swupdate-config.bbclass
>> +++ b/classes/swupdate-config.bbclass
>> @@ -46,8 +46,8 @@ KFEATURE_ubi[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_ubi.snippet"
>>   KFEATURE_DEPS[ubi] = "mtd"
>>   
>>   KFEATURE_u-boot = ""
>> -KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "u-boot-${MACHINE}-dev"
>> -KFEATURE_u-boot[DEBIAN_DEPENDS] = "u-boot-tools"
>> +KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "libubootenv-dev"
>> +KFEATURE_u-boot[DEBIAN_DEPENDS] = "libubootenv-tool, u-boot-tools"
>>   KFEATURE_u-boot[DEPENDS] = "${U_BOOT}"
>>   KFEATURE_u-boot[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_u-boot.snippet"
>>   
>>
> 
> The isar version we have at this point already supports that?

Yes, since one next e77d030ed0ac5b122aa7b798131062946cb36699.
> 
> Jan
> 
Quirin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6099): https://lists.cip-project.org/g/cip-dev/message/6099
Mute This Topic: https://lists.cip-project.org/mt/79920019/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
Gylstorff Quirin Jan. 18, 2021, 2:34 p.m. UTC | #3
On 1/18/21 3:10 PM, [ext] Quirin Gylstorff wrote:
> 
> 
> On 1/18/21 12:23 PM, Jan Kiszka wrote:
>> On 18.01.21 11:35, Q. Gylstorff wrote:
>>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>
>>> libubootenv provides hardware independent access to u-boot environments.
>>> This change conflicts with u-boot tools < 10.2019.
>>>
>>> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>> ---
>>>   classes/swupdate-config.bbclass | 4 ++--
>>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/classes/swupdate-config.bbclass 
>>> b/classes/swupdate-config.bbclass
>>> index 208d240..dd0317f 100644
>>> --- a/classes/swupdate-config.bbclass
>>> +++ b/classes/swupdate-config.bbclass
>>> @@ -46,8 +46,8 @@ KFEATURE_ubi[KCONFIG_SNIPPETS] = 
>>> "file://swupdate_defconfig_ubi.snippet"
>>>   KFEATURE_DEPS[ubi] = "mtd"
>>>   KFEATURE_u-boot = ""
>>> -KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "u-boot-${MACHINE}-dev"
>>> -KFEATURE_u-boot[DEBIAN_DEPENDS] = "u-boot-tools"
>>> +KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "libubootenv-dev"
>>> +KFEATURE_u-boot[DEBIAN_DEPENDS] = "libubootenv-tool, u-boot-tools"
>>>   KFEATURE_u-boot[DEPENDS] = "${U_BOOT}"
>>>   KFEATURE_u-boot[KCONFIG_SNIPPETS] = 
>>> "file://swupdate_defconfig_u-boot.snippet"
>>>
>>
>> The isar version we have at this point already supports that?
> 
> Yes, since one next e77d030ed0ac5b122aa7b798131062946cb36699.
Isar supports libubootenv since e77d030ed0ac5b122aa7b798131062946cb36699
cip-core since 683866e2b0c5113b849ef82cf206b3bb5c6e3e30

Quirin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6100): https://lists.cip-project.org/g/cip-dev/message/6100
Mute This Topic: https://lists.cip-project.org/mt/79920019/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
index 208d240..dd0317f 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -46,8 +46,8 @@  KFEATURE_ubi[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_ubi.snippet"
 KFEATURE_DEPS[ubi] = "mtd"
 
 KFEATURE_u-boot = ""
-KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "u-boot-${MACHINE}-dev"
-KFEATURE_u-boot[DEBIAN_DEPENDS] = "u-boot-tools"
+KFEATURE_u-boot[BUILD_DEB_DEPENDS] = "libubootenv-dev"
+KFEATURE_u-boot[DEBIAN_DEPENDS] = "libubootenv-tool, u-boot-tools"
 KFEATURE_u-boot[DEPENDS] = "${U_BOOT}"
 KFEATURE_u-boot[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_u-boot.snippet"