mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-02 07:26:13 +00:00
Makefile: Fix bug where network was not disabled
This commit moves the include statement to the bottom of the file to ensure that all variables are set before conditionals are evaluated. I also changed the ifndef NETWORK to ifdef NETWORK as the former was incorrect. We want `NET_OPTS="--network=none"` in cases where NETWORK is not defined. Fixes: #2134 Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
include ../package.mk
|
||||
|
||||
IMAGE=mkimage
|
||||
DEPS=mkimage.sh
|
||||
|
||||
include ../package.mk
|
||||
|
Reference in New Issue
Block a user