mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
lxc: add distrosysconfdir option to make sure the lxc configuration in correct folder
After the commit[1] "meson.build: allow explicit distrosysconfdir", the config of lxc would install
to distrosysconfdir[2], if this value not set, it might set to /etc/sysconfig, that cause lxc-net
configuration cannot be found[3] due to our bb file install the lxc-net to /etc/default folder.
Ref:
[1] 16ebb29dcc
[2] https://github.com/lxc/lxc/blob/main/config/sysconfig/meson.build#L9
[3] https://github.com/lxc/lxc/blob/main/config/sysconfig/lxc.in#L28
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
edc85da6e4
commit
6e69a270b3
|
@ -60,7 +60,7 @@ PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-Dtests=true', '
|
|||
|
||||
# No meson equivalent for --with-distro
|
||||
# EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}"
|
||||
EXTRA_OEMESON += "${PTEST_CONF}"
|
||||
EXTRA_OEMESON += "${PTEST_CONF} -Ddistrosysconfdir=${sysconfdir}/default"
|
||||
# No meson equivalent for these yet
|
||||
# EXTRA_OECONF += "--enable-log-src-basename --disable-werror"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user