Skip to contentSkip to conversation

nettle: inherit lib_package

PATCH In review [email protected] 2 participants 3 messages Jun 6, 2023 – Jun 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nettle: inherit lib_package

From: Ross Burton <[email protected]>

Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin.

---
 meta/recipes-support/nettle/nettle_3.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/nettle/nettle_3.8.1.bb +1 -1
index bf491322354..5e60948c8f6 100644
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd
 
 UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
 
-inherit autotools ptest multilib_header
+inherit autotools ptest multilib_header lib_package
 
 EXTRA_AUTORECONF += "--exclude=aclocal"
 
Signature · 1 line
2.34.1
#1 lore raw

Hello Ross,

It seemed to have caused new ptest failures:

{'nettle': ['nettle-pbkdf2-test', 'sexp-conv-test']}

Quoted 36 lines · Ross Burton

From: Ross Burton <[email protected]>

Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin.

---
 meta/recipes-support/nettle/nettle_3.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/nettle/nettle_3.8.1.bb +1 -1
index bf491322354..5e60948c8f6 100644
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd
 
 UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
 
-inherit autotools ptest multilib_header
+inherit autotools ptest multilib_header lib_package
 
 EXTRA_AUTORECONF += "--exclude=aclocal"
 
Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182435): https://lists.openembedded.org/g/openembedded-core/message/182435
Mute This Topic: https://lists.openembedded.org/mt/99362169/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

You’re right, apologies. v2 sent.

Ross

Quoted 51 lines · Alexandre Belloni

Hello Ross,

It seemed to have caused new ptest failures:

{'nettle': ['nettle-pbkdf2-test', 'sexp-conv-test']}

Quoted 36 lines · Ross Burton

From: Ross Burton <[email protected]>

Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin.

---
meta/recipes-support/nettle/nettle_3.8.1.bb | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/nettle/nettle_3.8.1.bb +0 -0
index bf491322354..5e60948c8f6 100644
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd
 

UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"

meta/recipes-support/nettle/nettle_3.8.1.bb +1 -1
-inherit autotools ptest multilib_header
+inherit autotools ptest multilib_header lib_package

EXTRA_AUTORECONF += "--exclude=aclocal"

Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182435): https://lists.openembedded.org/g/openembedded-core/message/182435
Mute This Topic: https://lists.openembedded.org/mt/99362169/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com