summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-16 19:01:00 +0000
committerDaniil Baturin <daniil@vyos.io>2024-04-16 19:01:00 +0000
commitabb5b518ab1e14801e03779a75f78c0b4f86d804 (patch)
treebd9e5e331cc5536073f94e2771b81dd8111bdede /Makefile
parent008bb5063d6794e5526e2c5ba9fa5e0c2d2866f2 (diff)
downloadvyos-build-abb5b518ab1e14801e03779a75f78c0b4f86d804.tar.gz
vyos-build-abb5b518ab1e14801e03779a75f78c0b4f86d804.zip
build: T3664: move sudo out of the make target
to avoid permission problems
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e8982735..9d8b2d0d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,7 @@ all:
@echo "The most common target is 'iso'"
%:
- sudo \
- VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ \
- ./build-vyos-image $*
+ VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ ./build-vyos-image $*
.PHONY: checkiso
.ONESHELL: