* [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON
2025-10-20 2:39 [PATCH 0/2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask " Liu Yiding
@ 2025-10-20 2:39 ` Liu Yiding
2025-10-20 17:05 ` Quentin Schulz
0 siblings, 1 reply; 6+ messages in thread
From: Liu Yiding @ 2025-10-20 2:39 UTC (permalink / raw)
To: openembedded-core; +Cc: Liu Yiding
After kea has been upgrade to 3.0.1,the build system changed to meson,but the config of build system is still be EXTRA_OECONF. So this commit fix it.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
meta/recipes-connectivity/kea/kea_3.0.1.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb
index cc34c05093..06f1a5edc3 100644
--- a/meta/recipes-connectivity/kea/kea_3.0.1.bb
+++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a
inherit meson pkgconfig systemd update-rc.d upstream-version-is-even
-EXTRA_OECONF += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
+EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
INITSCRIPT_NAME = "kea-dhcp4-server"
INITSCRIPT_PARAMS = "defaults 30"
@@ -72,6 +72,7 @@ do_install:append() {
-e "s:${S}:@abs_top_srcdir_placeholder@:g" \
${D}${sbindir}/kea-admin
rm -rf ${D}${datadir}/${BPN}/meson-info
+ rm -rf ${D}${runtimedir}
}
do_install:append() {
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON
2025-10-20 2:39 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
@ 2025-10-20 17:05 ` Quentin Schulz
0 siblings, 0 replies; 6+ messages in thread
From: Quentin Schulz @ 2025-10-20 17:05 UTC (permalink / raw)
To: liuyd.fnst, openembedded-core
Hi Yiding Liu,
On 10/20/25 4:39 AM, Yiding Liu (Fujitsu) via lists.openembedded.org wrote:
> After kea has been upgrade to 3.0.1,the build system changed to meson,but the config of build system is still be EXTRA_OECONF. So this commit fix it.
>
> Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
> ---
> meta/recipes-connectivity/kea/kea_3.0.1.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb
> index cc34c05093..06f1a5edc3 100644
> --- a/meta/recipes-connectivity/kea/kea_3.0.1.bb
> +++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb
> @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a
>
> inherit meson pkgconfig systemd update-rc.d upstream-version-is-even
>
> -EXTRA_OECONF += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
> +EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
>
> INITSCRIPT_NAME = "kea-dhcp4-server"
> INITSCRIPT_PARAMS = "defaults 30"
> @@ -72,6 +72,7 @@ do_install:append() {
> -e "s:${S}:@abs_top_srcdir_placeholder@:g" \
> ${D}${sbindir}/kea-admin
> rm -rf ${D}${datadir}/${BPN}/meson-info
> + rm -rf ${D}${runtimedir}
This change seems unrelated to the meson build system change (maybe it
isn't?). Can you explain why this is needed?
Cheers,
Quentin
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/2 v2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask of meson
@ 2025-10-23 2:06 Liu Yiding
2025-10-23 2:06 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
2025-10-23 2:06 ` [OE-core][PATCH 2/2 v2] kea: fix installation umask to 0022 of meson Liu Yiding
0 siblings, 2 replies; 6+ messages in thread
From: Liu Yiding @ 2025-10-23 2:06 UTC (permalink / raw)
To: openembedded-core
*** BLURB HERE ***
Liu Yiding (2):
Subject: [OE-core][PATCH 1/2 v2] kea: fix EXTRA_OE config to EXTRA_OEMESON
Subject: [OE-core][PATCH 2/2 v2] kea: fix installation umask to 0022 of meson.
meta/recipes-connectivity/kea/kea_3.0.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON
2025-10-23 2:06 [PATCH 0/2 v2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask of meson Liu Yiding
@ 2025-10-23 2:06 ` Liu Yiding
2025-10-23 8:57 ` Quentin Schulz
2025-10-23 2:06 ` [OE-core][PATCH 2/2 v2] kea: fix installation umask to 0022 of meson Liu Yiding
1 sibling, 1 reply; 6+ messages in thread
From: Liu Yiding @ 2025-10-23 2:06 UTC (permalink / raw)
To: openembedded-core; +Cc: Liu Yiding
After kea has been upgrade to 3.0.1,the build system changed to meson,but the config of build system is still be EXTRA_OECONF. So this commit fix it.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
meta/recipes-connectivity/kea/kea_3.0.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb
index cc34c05093..2dca645cdb 100644
--- a/meta/recipes-connectivity/kea/kea_3.0.1.bb
+++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a
inherit meson pkgconfig systemd update-rc.d upstream-version-is-even
-EXTRA_OECONF += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
+EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
INITSCRIPT_NAME = "kea-dhcp4-server"
INITSCRIPT_PARAMS = "defaults 30"
@@ -72,6 +72,8 @@ do_install:append() {
-e "s:${S}:@abs_top_srcdir_placeholder@:g" \
${D}${sbindir}/kea-admin
rm -rf ${D}${datadir}/${BPN}/meson-info
+ # Remove /run as it is created on startup
+ rm -rf ${D}${runtimedir}
}
do_install:append() {
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [OE-core][PATCH 2/2 v2] kea: fix installation umask to 0022 of meson.
2025-10-23 2:06 [PATCH 0/2 v2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask of meson Liu Yiding
2025-10-23 2:06 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
@ 2025-10-23 2:06 ` Liu Yiding
1 sibling, 0 replies; 6+ messages in thread
From: Liu Yiding @ 2025-10-23 2:06 UTC (permalink / raw)
To: openembedded-core; +Cc: Liu Yiding
The default installation umask is 0027 for Kea-built artifacts.
And it caused package conflicts as following:
Error: Transaction test error:
file /usr/lib/pkgconfig conflicts between attempted installs of kea-dev-3.0.1-r0.x86_64_v3 and btrfs-tools-dev-6.16-r0.x86_64_v3
file /usr/lib/pkgconfig conflicts between attempted installs of libgcrypt-dev-1.11.2-r0.x86_64_v3 and kea-dev-3.0.1-r0.x86_64_v3
I submitted an issue to the upstream and found upstream alreadly known this issue.
https://gitlab.isc.org/isc-projects/kea/-/issues/4171
https://gitlab.isc.org/isc-projects/kea/-/issues/3993
Then I follow the method in the SPEC file of upstream to fix this problem in Yocto.
https://gitlab.isc.org/isc-projects/kea-packaging/-/blob/master/rpm/kea.spec?ref_type=heads
meson setup build \
--buildtype release \
--install-umask 0022 \
--bindir %{_bindir} \
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
meta/recipes-connectivity/kea/kea_3.0.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb
index 2dca645cdb..6e75cff0a5 100644
--- a/meta/recipes-connectivity/kea/kea_3.0.1.bb
+++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a
inherit meson pkgconfig systemd update-rc.d upstream-version-is-even
-EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled"
+EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled --install-umask=0022"
INITSCRIPT_NAME = "kea-dhcp4-server"
INITSCRIPT_PARAMS = "defaults 30"
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON
2025-10-23 2:06 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
@ 2025-10-23 8:57 ` Quentin Schulz
0 siblings, 0 replies; 6+ messages in thread
From: Quentin Schulz @ 2025-10-23 8:57 UTC (permalink / raw)
To: liuyd.fnst, openembedded-core
Hi Yiding Liu,
On 10/23/25 4:06 AM, Yiding Liu (Fujitsu) via lists.openembedded.org wrote:
> After kea has been upgrade to 3.0.1,the build system changed to meson,but the config of build system is still be EXTRA_OECONF. So this commit fix it.
>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Thanks!
Quentin
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-10-23 8:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23 2:06 [PATCH 0/2 v2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask of meson Liu Yiding
2025-10-23 2:06 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
2025-10-23 8:57 ` Quentin Schulz
2025-10-23 2:06 ` [OE-core][PATCH 2/2 v2] kea: fix installation umask to 0022 of meson Liu Yiding
-- strict thread matches above, loose matches on Subject: below --
2025-10-20 2:39 [PATCH 0/2] kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask " Liu Yiding
2025-10-20 2:39 ` [OE-core][PATCH 1/2] kea: fix EXTRA_OE config to EXTRA_OEMESON Liu Yiding
2025-10-20 17:05 ` Quentin Schulz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox