From ce8f6fe10682d85f7e26ceb3e8ccbc6e01d2b869 Mon Sep 17 00:00:00 2001 From: Maciej Pijanowski Date: Fri, 19 Oct 2018 11:28:01 +0200 Subject: xen: fix building with BASELIB=lib64 Many "real" (other then genericx86-64) x86-64 target machine configurations set BASELIB to lib64. For example the intel-corei7-64 or the AMD machines. In such case packaging xen-python fails because items are installed to /usr/lib/, but FILES_xen-python points to package /usr/lib64/ items. Exposing the DISTUTILS variables from OE build makes the python installation somewhat similar to what happens in the distutils class and python items are installed to the /usr/lib64 as expected. Another issue was that the xen-efi package was picking up too much stuff from the /usr/lib64 path on such machines. Being more explicit at least allows to package things correctly. Signed-off-by: Maciej Pijanowski Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-extended/xen/xen_git.bb') diff --git a/recipes-extended/xen/xen_git.bb b/recipes-extended/xen/xen_git.bb index 81ee1002..0ebd81ce 100644 --- a/recipes-extended/xen/xen_git.bb +++ b/recipes-extended/xen/xen_git.bb @@ -13,6 +13,7 @@ S = "${WORKDIR}/git" SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ file://xen-disable-sse-before-inlines.patch \ + file://0001-python-pygrub-pass-DISTUTILS-env-vars-as-setup.py-ar.patch \ " DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3-54-g00ecf