add aliases to what uname would return
so it work with uname -m
like https://github.com/krallin/tini/pull/147
add x86_64 for uname -m
to make it work with uname -m
like krallin#147
Fixes#152. This doesn't hurt, and we already do it for e.g. unsuffixed
and amd64. We're pretty close to a more distinguished mechanism for
aliases being worth it, though.
Time to do this — Python 2 is EOL. This exposed a bug in one of the
tests that was stripping the entire environment from its subprocesses
(though they did sort of work on Python 2).
This required updating to Ubuntu Xenial for some of the cross compilers, but Travis doesn't support Xenial builders, so this instead converts Travis to use the already-existing "ddist.sh" script for building via Docker.
Also fixed a bug with the signals test, which didn't properly exercise
Tini: rather than check that Tini was properly exiting with 128 +
signal, it raced against Tini and was only successful if Tini didn't get
the change to spawn a subprocess!
Also adding a test in run_build.sh to ensure that the pre-processed
license is always up to date with the actual license file.
To recreate: `xxd -i LICENSE > src/license.h`