diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-04-22 12:56:34 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-04-22 12:57:43 -0400 |
commit | 3498e94adfcb264965560c34ca4b01652fa7187f (patch) | |
tree | 000a35b99829260b7ec474ddabded9a7972426f8 /recipes-containers | |
parent | 7735217d666dc1528ea2e1ace350d26713f76ff0 (diff) | |
download | meta-virtualization-3498e94adfcb264965560c34ca4b01652fa7187f.tar.gz |
lxc: inherit python native to fix configure error
Recently the configure with python enabled has become the default here.
However, if the host doesn't have python3, configure fails with:
checking for a Python interpreter with version >= 3.2... none
configure: error: You must install python3
We have a python3 in the sysroot, but we need to inherit it for it to
be available for lxc's configure step.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
-rw-r--r-- | recipes-containers/lxc/lxc_1.1.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/lxc/lxc_1.1.5.bb b/recipes-containers/lxc/lxc_1.1.5.bb index 67ad93a9..1864ef83 100644 --- a/recipes-containers/lxc/lxc_1.1.5.bb +++ b/recipes-containers/lxc/lxc_1.1.5.bb | |||
@@ -76,7 +76,7 @@ export HOST_SYS | |||
76 | export STAGING_INCDIR | 76 | export STAGING_INCDIR |
77 | export STAGING_LIBDIR | 77 | export STAGING_LIBDIR |
78 | 78 | ||
79 | inherit autotools pkgconfig ptest update-rc.d systemd | 79 | inherit autotools pkgconfig ptest update-rc.d systemd python3native |
80 | 80 | ||
81 | SYSTEMD_PACKAGES = "${PN}-setup" | 81 | SYSTEMD_PACKAGES = "${PN}-setup" |
82 | SYSTEMD_SERVICE_${PN}-setup = "lxc.service" | 82 | SYSTEMD_SERVICE_${PN}-setup = "lxc.service" |