diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-04-12 07:44:46 +0200 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-04-18 06:41:12 -0400 |
| commit | ffb34043d65d0cd9174d9149d9e8c1d1c3d80a5e (patch) | |
| tree | ffe9c57dbbd8c16f4150710742bdf0762cf6a634 | |
| parent | 2d89a469e5f6a209fdc50bf447cd645929e4b735 (diff) | |
| download | meta-openembedded-ffb34043d65d0cd9174d9149d9e8c1d1c3d80a5e.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 88e3f0486b..fcb347a2e5 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 | |||
| @@ -51,9 +51,9 @@ do_configure:append() { | |||
| 51 | 51 | ||
| 52 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA | 52 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA |
| 53 | do_install:prepend() { | 53 | do_install:prepend() { |
| 54 | rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 54 | rm -rf ${S}/python-pkg/dist/ |
| 55 | mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 55 | mkdir ${S}/python-pkg/dist/ |
| 56 | tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S} | 56 | tar --exclude='${S}/python-pkg/*' -czf ${S}/python-pkg/dist/${BP}.tar.gz ${S} |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | # In code, path to python is a variable that is replaced with path to native version of it | 59 | # In code, path to python is a variable that is replaced with path to native version of it |
