diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2023-04-10 20:57:08 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-10 20:13:28 -0700 |
| commit | 385ca58f98eeb891e4dc9f5547e1588c04ab1797 (patch) | |
| tree | 340a550534e3164a6d34a60dd9462eee9c529a4f | |
| parent | 9317d99070cb7663f88e23701fc091fd536f6704 (diff) | |
| download | meta-openembedded-385ca58f98eeb891e4dc9f5547e1588c04ab1797.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: Khem Raj <raj.khem@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 |
