ndctl: fix compile issue
PATCH 1/1 ndctl: fix compile issue
| No package 'systemd' found
| configure: error: systemd support requested but pkg-config unable to query systemd package
add PACKCONFIG to disable systemd
--- meta-oe/recipes-core/ndctl/ndctl_git.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-core/ndctl/ndctl_git.bb +3 -0
@@ -21,6 +21,9 @@ S = "${WORKDIR}/git" EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" +PACKAGECONFIG ??= "" +PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir," + do_configure_prepend() { ${S}/autogen.sh }
Signature · 1 line
2.7.4
Hi Armin,
Quoted 15 lines · Armin Kuster
| No package 'systemd' found
| configure: error: systemd support requested but pkg-config unable to query systemd packageadd PACKCONFIG to disable systemd
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-core/ndctl/ndctl_git.bb | 3 +++ 1 file changed, 3 insertions(+)meta-oe/recipes-core/ndctl/ndctl_git.bb +0
-0
meta-oe/recipes-core/ndctl/ndctl_git.bb S = "${WORKDIR}/git" · line 24
Quoted 4 lines
meta-oe/recipes-core/ndctl/ndctl_git.bb +1
-0@@ -21,6 +21,9 @@ S = "${WORKDIR}/git" EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" +PACKAGECONFIG ??= ""
Can you make the default PACKAGECONFIG include systemd if it is in distrofeatures?
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
// Martin
Quoted 6 lines
meta-oe/recipes-core/ndctl/ndctl_git.bb +2
-0+PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir," + do_configure_prepend() { ${S}/autogen.sh }
Signature · 10 lines
Kind regards, Martin Hundebøll Embedded Linux Consultant +45 61 65 54 61 [email protected] Geanix IVS https://geanix.com DK39600706
Quoted 20 lines · Martin Hundebøll
Hi Armin,
Quoted 16 lines · Armin Kuster
| No package 'systemd' found
| configure: error: systemd support requested but pkg-config unable to query systemd packageadd PACKCONFIG to disable systemd
Signed-off-by Armin Kuster <[email protected]>--- meta-oe/recipes-core/ndctl/ndctl_git.bb | 3 +++ 1 file changed, 3 insertions(+)meta-oe/recipes-core/ndctl/ndctl_git.bb +0
-0@@ -21,6 +21,9 @@ S = "${WORKDIR}/git"
Quoted 6 lines
meta-oe/recipes-core/ndctl/ndctl_git.bb S = "${WORKDIR}/git" · line 24
Quoted 3 lines
meta-oe/recipes-core/ndctl/ndctl_git.bb +1
-0EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs" +PACKAGECONFIG ??= ""Can you make the default PACKAGECONFIG include systemd if it is in distrofeatures?
This is needed. See
http://errors.yoctoproject.org/Errors/Details/202222/
Quoted 28 lines
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
// Martin
meta-oe/recipes-core/ndctl/ndctl_git.bb S = "${WORKDIR}/git" · line 29
Quoted 6 lines
meta-oe/recipes-core/ndctl/ndctl_git.bb +2
-0+PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir," + do_configure_prepend() { ${S}/autogen.sh }--
Kind regards,
Martin Hundebøll
Embedded Linux Consultant+45 61 65 54 61
[email protected]Geanix IVS
https://geanix.com
DK39600706
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel