All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][mickledore][PATCH 01/16] lirc: fix do_install with multilib
@ 2023-05-09  7:06 Martin Jansa
  2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 02/16] dleyna-{server,renderer}: fix dev-so QA issue " Martin Jansa
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Martin Jansa @ 2023-05-09  7:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Jansa

* 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



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-05-09  7:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09  7:06 [meta-oe][mickledore][PATCH 01/16] lirc: fix do_install with multilib Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 02/16] dleyna-{server,renderer}: fix dev-so QA issue " 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

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.