diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2013-08-12 17:03:47 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-12 23:46:49 -0400 |
| commit | a4565b8ce7614b3a6453220c31a4c103c9d857ef (patch) | |
| tree | 46fc744e2f592cf1218433099ad2596d6d01c059 /recipes-extended/libvirt/libvirt-python.inc | |
| parent | 7dfc79162c6745a0783e18f59d7f59f61dbb96cf (diff) | |
| download | meta-virtualization-a4565b8ce7614b3a6453220c31a4c103c9d857ef.tar.gz | |
libvirt: fix python script's improper paths
libvirt generates several python scripts using its python/generator.py
script. This uses the PYTHON variable, which in our case will be a
full path to the sysroot that will not exist on the target. For this
we are patching libvirt to allow for (but not require) TARGET_PYTHON
to be defined and used when generating these python scripts.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/libvirt/libvirt-python.inc')
| -rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index d4cc5f35..63e06577 100644 --- a/recipes-extended/libvirt/libvirt-python.inc +++ b/recipes-extended/libvirt/libvirt-python.inc | |||
| @@ -15,3 +15,7 @@ FILES_${PN}-python-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" | |||
| 15 | FILES_${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" | 15 | FILES_${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" |
| 16 | FILES_${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/" | 16 | FILES_${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/" |
| 17 | FILES_${PN}-python += "${PYTHON_SITEPACKAGES_DIR}" | 17 | FILES_${PN}-python += "${PYTHON_SITEPACKAGES_DIR}" |
| 18 | |||
| 19 | EXTRA_OECONF += "TARGET_PYTHON=${bindir}/python" | ||
| 20 | |||
| 21 | SRC_URI += "file://libvirt-allow-location-of-python-on-the-target-to-be.patch" \ No newline at end of file | ||
