diff options
author | Max Goltzsche <max.goltzsche@gmail.com> | 2020-02-09 21:15:23 +0100 |
---|---|---|
committer | Max Goltzsche <max.goltzsche@gmail.com> | 2020-02-09 21:25:59 +0100 |
commit | c588ae1428306101eb4d730405119b9fb3f78489 (patch) | |
tree | 54b449cabd48bedda1bfd32e9ba629815a87d7ac | |
parent | ee811431d29962c3a801903ca3ca342a2000f65e (diff) | |
download | podman-c588ae1428306101eb4d730405119b9fb3f78489.tar.gz podman-c588ae1428306101eb4d730405119b9fb3f78489.tar.bz2 podman-c588ae1428306101eb4d730405119b9fb3f78489.zip |
Fix varlink code generation target.
Closes #5130.
varlink code generation was skipped when `uname -o` did not print "GNU/Linux".
However on some Linux systems (e.g. alpine) only "Linux" is printed
which results in cmd/podman/varlink/iopodman.go not being generated.
Thus the Makefile target condition has been changed to match "Linux".
Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ install.libseccomp.sudo: cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink -ifeq ("$(shell uname -o)", "GNU/Linux") +ifneq (,$(findstring Linux,$(shell uname -o))) # Only generate the varlink code on Linux (see issue #4814). GO111MODULE=off $(GO) generate ./cmd/podman/varlink/... endif |