mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] host-systemd: Fix rpath space problem
@ 2018-08-01  0:22 jon
  2018-08-01  0:22 ` [ptxdist] [PATCH v2 2/2] host-systemd: Add option to install hwdb only (enabled by default) jon
  0 siblings, 1 reply; 4+ messages in thread
From: jon @ 2018-08-01  0:22 UTC (permalink / raw)
  To: ptxdist; +Cc: Jon Ringle

From: Jon Ringle <jringle@gridpoint.com>

Make room for chrpath manipulation in host-systemd.install.pack
The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:

new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
 rules/host-systemd.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/host-systemd.make b/rules/host-systemd.make
index 7f97a75..f134f13 100644
--- a/rules/host-systemd.make
+++ b/rules/host-systemd.make
@@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
 HOST_SYSTEMD_CONF_TOOL	:= meson
 HOST_SYSTEMD_CONF_OPT	:= \
 	$(HOST_MESON_OPT) \
+	-Drootprefix=/lib/.. \
 	-Dacl=false \
 	-Dadm-group=true \
 	-Dapparmor=false \
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-08-01  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01  0:22 [ptxdist] [PATCH v2 1/2] host-systemd: Fix rpath space problem jon
2018-08-01  0:22 ` [ptxdist] [PATCH v2 2/2] host-systemd: Add option to install hwdb only (enabled by default) jon
2018-08-01  6:07   ` Ladislav Michl
2018-08-01  7:20   ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox