diff mbox series

[meta-arago,master,03/13] libyang: Add BBCLASSEXTEND for native

Message ID 20250313104029.14977-4-reatmon@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series Update and cleanup sysrepo packages | expand

Commit Message

Ryan Eatmon March 13, 2025, 10:40 a.m. UTC
We need to add BBCLASSEXTEND for native so that we can build
sysrepo-native for the netopeer2-server install.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../recipes-sysrepo/libnetconf2/libnetconf2_git.bb          | 6 +++---
 .../recipes-sysrepo/libyang/libyang_%.bbappend              | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend

Comments

Denys Dmytriyenko March 13, 2025, 6:02 p.m. UTC | #1
This patch is incorrect - it got extra stuff in it.


On Thu, Mar 13, 2025 at 05:40:19AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> We need to add BBCLASSEXTEND for native so that we can build
> sysrepo-native for the netopeer2-server install.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  .../recipes-sysrepo/libnetconf2/libnetconf2_git.bb          | 6 +++---
>  .../recipes-sysrepo/libyang/libyang_%.bbappend              | 1 +
>  2 files changed, 4 insertions(+), 3 deletions(-)
>  create mode 100644 meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
> 
> diff --git a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
> index c62d3faa..6b3f73ca 100644
> --- a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
> +++ b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
> @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=08a5578c9bab06fb2ae84284630b973f"
>  
>  SRC_URI = "git://github.com/CESNET/libnetconf2.git;protocol=https;branch=devel"
>  
> -PV = "2.1.34+git"
> -SRCREV = "91cd6d75722c65de5c005d908f6d645b48cee89b"
> +PV = "3.5.5+git"
> +SRCREV = "4c7858c9c41f1ac04d2b15c032291e335fc0f5f5"
>  
>  S = "${WORKDIR}/git"
>  
> -DEPENDS = "libssh openssl libyang libxcrypt \
> +DEPENDS = "libssh openssl libyang libxcrypt mbedtls curl \
>      ${@bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)} \
>  "
>  
> diff --git a/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
> new file mode 100644
> index 00000000..608377e3
> --- /dev/null
> +++ b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
> @@ -0,0 +1 @@
> +BBCLASSEXTEND = "native nativesdk"
> -- 
> 2.17.1
Ryan Eatmon March 13, 2025, 6:46 p.m. UTC | #2
On 3/13/2025 1:02 PM, Denys Dmytriyenko wrote:
> This patch is incorrect - it got extra stuff in it.
> 

Got to love rebasing...  I'll fix it.


> On Thu, Mar 13, 2025 at 05:40:19AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>> We need to add BBCLASSEXTEND for native so that we can build
>> sysrepo-native for the netopeer2-server install.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   .../recipes-sysrepo/libnetconf2/libnetconf2_git.bb          | 6 +++---
>>   .../recipes-sysrepo/libyang/libyang_%.bbappend              | 1 +
>>   2 files changed, 4 insertions(+), 3 deletions(-)
>>   create mode 100644 meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
>>
>> diff --git a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
>> index c62d3faa..6b3f73ca 100644
>> --- a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
>> +++ b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
>> @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=08a5578c9bab06fb2ae84284630b973f"
>>   
>>   SRC_URI = "git://github.com/CESNET/libnetconf2.git;protocol=https;branch=devel"
>>   
>> -PV = "2.1.34+git"
>> -SRCREV = "91cd6d75722c65de5c005d908f6d645b48cee89b"
>> +PV = "3.5.5+git"
>> +SRCREV = "4c7858c9c41f1ac04d2b15c032291e335fc0f5f5"
>>   
>>   S = "${WORKDIR}/git"
>>   
>> -DEPENDS = "libssh openssl libyang libxcrypt \
>> +DEPENDS = "libssh openssl libyang libxcrypt mbedtls curl \
>>       ${@bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)} \
>>   "
>>   
>> diff --git a/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
>> new file mode 100644
>> index 00000000..608377e3
>> --- /dev/null
>> +++ b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
>> @@ -0,0 +1 @@
>> +BBCLASSEXTEND = "native nativesdk"
>> -- 
>> 2.17.1
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
index c62d3faa..6b3f73ca 100644
--- a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
+++ b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
@@ -6,12 +6,12 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=08a5578c9bab06fb2ae84284630b973f"
 
 SRC_URI = "git://github.com/CESNET/libnetconf2.git;protocol=https;branch=devel"
 
-PV = "2.1.34+git"
-SRCREV = "91cd6d75722c65de5c005d908f6d645b48cee89b"
+PV = "3.5.5+git"
+SRCREV = "4c7858c9c41f1ac04d2b15c032291e335fc0f5f5"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "libssh openssl libyang libxcrypt \
+DEPENDS = "libssh openssl libyang libxcrypt mbedtls curl \
     ${@bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)} \
 "
 
diff --git a/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
new file mode 100644
index 00000000..608377e3
--- /dev/null
+++ b/meta-arago-extras/recipes-sysrepo/libyang/libyang_%.bbappend
@@ -0,0 +1 @@ 
+BBCLASSEXTEND = "native nativesdk"