mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 07:40:37 +00:00
netplan: Depend on systemd if it is in distro
it needs to link with libsystemd when using systemd as init system Fixes Package libsystemd was not found in the pkg-config search path. Perhaps you should add the directory containing `libsystemd.pc' to the PKG_CONFIG_PATH environment variable Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 60e603f11ae1cca38553d18cf411f1a77207a97c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
e413c1ef62
commit
716cd27ec0
@ -18,7 +18,8 @@ SRC_URI = " \
|
|||||||
git://github.com/CanonicalLtd/netplan.git \
|
git://github.com/CanonicalLtd/netplan.git \
|
||||||
"
|
"
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 libyaml"
|
DEPENDS = "glib-2.0 libyaml ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "python3 python3-core python3-pyyaml python3-netifaces python3-nose python3-coverage python3-pycodestyle python3-pyflakes util-linux-libuuid"
|
RDEPENDS_${PN} = "python3 python3-core python3-pyyaml python3-netifaces python3-nose python3-coverage python3-pycodestyle python3-pyflakes util-linux-libuuid"
|
||||||
|
|
||||||
inherit pkgconfig systemd
|
inherit pkgconfig systemd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user