From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Subject: [meta-oe][mickledore][PATCH 01/16] lirc: fix do_install with multilib
Date: Tue, 9 May 2023 09:06:40 +0200 [thread overview]
Message-ID: <20230509070655.70784-1-Martin.Jansa@gmail.com> (raw)
* 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>
---
.../meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb | 6 +++---
1 file 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() {
# Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA
do_install:prepend() {
- rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/
- mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/
- tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S}
+ rm -rf ${S}/python-pkg/dist/
+ mkdir ${S}/python-pkg/dist/
+ tar --exclude='${S}/python-pkg/*' -czf ${S}/python-pkg/dist/${BP}.tar.gz ${S}
}
# In code, path to python is a variable that is replaced with path to native version of it
--
2.40.1
next reply other threads:[~2023-05-09 7:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 7:06 Martin Jansa [this message]
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 02/16] dleyna-{server,renderer}: fix dev-so QA issue with multilib Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 03/16] libreport: add dependency on libarchive Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 04/16] libxmlb: add missing dependency on glib-2.0 and xz Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 05/16] geoclue: fix build without gobject-introspection-data Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 06/16] appstream: " Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 07/16] ostree: " Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 08/16] rdfind: fix build with -Werror=return-type Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 09/16] spice-gtk: respect gobject-introspection-data Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 10/16] cpulimit: fix do_install with multilib Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 11/16] libnfs: fix installed-vs-shipped issues " Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 12/16] btrfsmaintenance: install to ${datadir}/${BPN} Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 13/16] libtomcrypt: pass LIBPATH to fix installed-vs-shipped with multilib Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 14/16] nanopb: " Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 15/16] nv-codec-headers: " Martin Jansa
2023-05-09 7:06 ` [meta-oe][mickledore][PATCH 16/16] zfs: fix installation paths for multilib Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230509070655.70784-1-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.