mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] set install-lib path for host-system-python package installation
Date: Tue,  4 Jun 2024 08:30:22 +0200	[thread overview]
Message-ID: <20240604063022.3272904-1-l.stach@pengutronix.de> (raw)

When only the prefix is set, different packages have different ideas
about were the libs should be installed (lib vs lib64) on multilib
systems. This causes issues later on when the package content is
copied into the sysroot, as it may be attempted to copy a directory
over a symlink. Set the lib install path explicitly, so all packages
maintain a consistent view.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/pre/Rules.make | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index f6b1900500b8..651660d78bea 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -254,7 +254,10 @@ CROSS_QMAKE_OPT := \
 
 CROSS_PYTHON_INSTALL := install --prefix=/usr
 HOST_PYTHON_INSTALL := install --prefix=/usr
-HOST_SYSTEM_PYTHON_INSTALL := install --prefix=/usr/lib/system-python3
+HOST_SYSTEM_PYTHON_INSTALL := \
+	install \
+	--prefix=/usr/lib/system-python3 \
+	--install-lib=/usr/lib/system-python3/lib
 
 CROSS_MESON_USR := \
 	--cross-file '${PTXDIST_MESON_CROSS_FILE}' \
-- 
2.39.2




             reply	other threads:[~2024-06-04  6:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04  6:30 Lucas Stach [this message]
2024-06-14  7:22 ` Michael Olbrich
2024-06-24  5:29   ` Michael Olbrich

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=20240604063022.3272904-1-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox