mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-15 10:08:23 +00:00
networkmanager: install config files into correct place
The current location has no effect, because NetworkManager
is not looking for config files there.
In meson.build, we have:
nm_pkglibdir = join_paths(nm_prefix, 'lib', nm_name)
config_extra_h.set_quoted('NMLIBDIR', nm_pkglibdir)
It's clear that the configuration directory should be
nonarch_libdir instead of libdir.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 15893f46f8af8c91d922fa41f9a1f537d92aeb9a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
971a33338f
commit
43e318de2f
@ -295,11 +295,11 @@ do_install:append() {
|
|||||||
|
|
||||||
# Enable iwd if compiled
|
# Enable iwd if compiled
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then
|
||||||
install -Dm 0644 ${WORKDIR}/enable-iwd.conf ${D}${libdir}/NetworkManager/conf.d/enable-iwd.conf
|
install -Dm 0644 ${WORKDIR}/enable-iwd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-iwd.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable dhcpd if compiled
|
# Enable dhcpd if compiled
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then
|
||||||
install -Dm 0644 ${WORKDIR}/enable-dhcpcd.conf ${D}${libdir}/NetworkManager/conf.d/enable-dhcpcd.conf
|
install -Dm 0644 ${WORKDIR}/enable-dhcpcd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-dhcpcd.conf
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user