Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Absolute build paths in rootfs tarball
@ 2015-10-20 13:30 Gorka Lertxundi
  2015-10-20 15:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Gorka Lertxundi @ 2015-10-20 13:30 UTC (permalink / raw)
  To: buildroot

Hi,

I'm experiencing a weird issue, probably because a) i'm new to busybox & b)
i'm doing it wrong. But here it is:

- Using buildroot 2015.08.1.
- I created an external toolchain using crosstool-ng.
- Building it in Travis CI.
- For now, testing my first full-packaged buildroot-based image with mono.

Everything builds up correctly except for one thing, it seems like when
buildroot wants to use the full path it uses the host-based absolute path
(builder path), and not the rootfs-based one.

Probably using this use-case it's much easier to explain:

- Travis CI builds everything in /home/travis
- After everything is built, rootfs.tar contains a mono configuration file
in /etc/mono/config which has references to custom native dll libraries.
- I expect this file would contain relative paths (but that's another
thing) but some of them use an absolute path like this:
  - <dllmap dll="MonoPosixHelper"
target="/home/travis/buildroot/output/host/usr/lib/libMonoPosixHelper.so"
os="!windows" />

Do you known how could I avoid this behaviour, and use rootfs-based
relative paths?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151020/95859ee6/attachment.html>

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

end of thread, other threads:[~2015-10-20 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 13:30 [Buildroot] Absolute build paths in rootfs tarball Gorka Lertxundi
2015-10-20 15:18 ` Thomas Petazzoni
2015-10-20 15:29   ` Gorka Lertxundi

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