kubo/repo
Lars Gierth 26770b7ebb
fsrepo: fix musl detection for migrations
The ldd command used for detection doesn't seem to have a
--version flag on Alpine Linux. It would print the expected
output, but instead of stdout, it would print it on stderr.

The musl detection code would only scan stdout for mentions
of "musl", and would thus *not* download the musl version
of the fs-repo-migrations executable.

This manifested in the well-known "fs-repo-migrations: not found"
error, which you get when executing something that was linked
against a different libc than the one present on the system.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-02-17 08:37:26 +01:00
..
common Config: allow to set maps on null value 2015-08-13 19:42:32 +07:00
config Merge pull request #3523 from ipfs/feat/ipv6-bootstrap 2017-02-16 17:00:37 -08:00
fsrepo fsrepo: fix musl detection for migrations 2017-02-17 08:37:26 +01:00
mock.go update go-multihash and bubble up deps 2017-02-12 12:25:41 -08:00
onlyone.go repo.OnlyOne tracks open Repos and reuses them 2015-03-13 20:26:22 -07:00
repo.go update go-multihash and bubble up deps 2017-02-12 12:25:41 -08:00