You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a buildroot rootfs + toolchain to cross-compile. By passing the -c option to exodus, it picks ld correctly and works. However the resulting tarball contains the local paths used in the machine creating it, both the tarball's full path and the binary's full path. So I have something like this:
tar -tf exodus-arduplane-bundle.tgz
exodus/bundles/9d9d2e5fe02b776c0e5f278239b087099adf73b729f31d681e979c4f573cd18c/home/ldmartin/p/buildroot/output/target/lib/ld-linux-armhf.so.3
exodus/bundles/9d9d2e5fe02b776c0e5f278239b087099adf73b729f31d681e979c4f573cd18c/home/ldmartin/p/buildroot/output/target/lib/libc.so.6
...
exodus/bundles/9d9d2e5fe02b776c0e5f278239b087099adf73b729f31d681e979c4f573cd18c/home/ldmartin/p/drone/ardupilot/build/disco/bin/arduplane
The option passed to -c was /home/ldmartin/p/buildroot/output/target/. Would it be possible for exodus not to use the full path and make it operate a) relative to the binary and b) to the rootfs? In other words, I was expecting the following output and wonder if it would be feasible:
I'm evaluating using exodus as an installation method for ArduPilot in the boards that run Linux.
After cross-compiling the plane binary I have this output:
I'm using a buildroot rootfs + toolchain to cross-compile. By passing the
-c
option to exodus, it picks ld correctly and works. However the resulting tarball contains the local paths used in the machine creating it, both the tarball's full path and the binary's full path. So I have something like this:The option passed to
-c
was/home/ldmartin/p/buildroot/output/target/
. Would it be possible for exodus not to use the full path and make it operate a) relative to the binary and b) to the rootfs? In other words, I was expecting the following output and wonder if it would be feasible:A workaround is by binding mounting to, say, /mnt:
then there's only
/mnt
extra in the path, but I guess it would be nice if this could be supported.The text was updated successfully, but these errors were encountered: