Files
docker-cli/components/engine/daemon
Kir Kolyshkin 0db60dff81 graphdriver: custom build-time priority list
Add a way to specify a custom graphdriver priority list
during build. This can be done with something like

  go build -ldflags "-X github.com/docker/docker/daemon/graphdriver.priority=overlay2,devicemapper"

As ldflags are already used by the engine build process, and it seems
that only one (last) `-ldflags` argument is taken into account by go,
an envoronment variable `DOCKER_LDFLAGS` is introduced in order to
be able to append some text to `-ldflags`. With this in place,
using the feature becomes

  make DOCKER_LDFLAGS="-X github.com/docker/docker/daemon/graphdriver.priority=overlay2,devicemapper" dynbinary

The idea behind this is, the priority list might be different
for different distros, so vendors are now able to change it
without patching the source code.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: 17708e72a7ef29fb1d4b03fbded1c5e4c08105fd
Component: engine
2017-11-16 19:43:34 -08:00
..
2017-09-08 18:23:21 -04:00
2017-10-24 15:39:34 -04:00
2017-10-18 10:26:58 +08:00
2017-09-06 12:05:19 -04:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-05-16 14:25:32 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-10-19 11:09:29 -07:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:18:50 -04:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-11-03 01:46:58 +01:00
2017-08-24 15:08:31 -04:00
2017-10-09 13:47:28 -07:00
2017-07-18 12:09:26 +08:00
2017-07-31 13:16:46 -07:00
2017-09-12 12:09:59 -04:00
2017-10-24 15:39:34 -04:00
2017-07-31 13:16:46 -07:00
2016-12-27 21:46:52 +08:00
2017-07-31 13:16:46 -07:00
2017-05-16 11:30:06 -07:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-09-07 09:44:08 +08:00
2017-09-06 12:05:19 -04:00
2017-09-06 12:05:19 -04:00
2017-07-03 13:13:09 -07:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00