diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-04-10 20:58:18 +0200 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-04-13 08:26:19 -0400 |
| commit | 15cae293889200909f90b586ff1b92f564198c54 (patch) | |
| tree | 83012b74a8ff2926b5f39ee373cccdb6f924afa0 | |
| parent | 522603beb6d88ad6ea443806bb986096d5b766e6 (diff) | |
| download | meta-openembedded-15cae293889200909f90b586ff1b92f564198c54.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.1.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb index fe9685924b..226543bbd8 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.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 |
