diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-04-10 20:57:41 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-04-18 06:45:53 -0400 |
commit | 56f60ab1698300cb45364d27a368830a8a2b7dd1 (patch) | |
tree | adad220da2b951c227cfa39e23e2aca06b057190 | |
parent | 47761df63d84a5c3d9b757f25384c4bf69e0b38d (diff) | |
download | meta-openembedded-56f60ab1698300cb45364d27a368830a8a2b7dd1.tar.gz |
lirc: fix do_install with multilib
* use ${S} instead of ${WORKDIR}/${PN}-${PV}
and ${BP} instead of ${PN}-${PV}
to fix build with multilib, where PN is lib32-lirc, but S is correctly set
as ${WORKDIR}/${BP} and do_install fails with:
mkdir: cannot create directory ‘lib32-lirc/0.10.1-r0/lib32-lirc-0.10.1/python-pkg/dist/’: No such file or directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb index 234d347af..7e975d2c6 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb | |||
@@ -49,9 +49,9 @@ do_configure:append() { | |||
49 | 49 | ||
50 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA | 50 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA |
51 | do_install:prepend() { | 51 | do_install:prepend() { |
52 | rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 52 | rm -rf ${S}/python-pkg/dist/ |
53 | mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 53 | mkdir ${S}/python-pkg/dist/ |
54 | tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S} | 54 | tar --exclude='${S}/python-pkg/*' -czf ${S}/python-pkg/dist/${BP}.tar.gz ${S} |
55 | } | 55 | } |
56 | 56 | ||
57 | # In code, path to python is a variable that is replaced with path to native version of it | 57 | # In code, path to python is a variable that is replaced with path to native version of it |