summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-16 19:01:00 +0000
committerChristian Breunig <christian@breunig.cc>2024-05-05 15:10:39 +0200
commitd91bfd3af41930a7a96b01a0b3a9a99791eabac5 (patch)
tree52c44151c74db1329c4dcf307e245c8bf7f3b3de
parent139bd4a8a4a3b4c0ac7bb3bf83f89e95c0a8ef18 (diff)
downloadvyos-build-d91bfd3af41930a7a96b01a0b3a9a99791eabac5.tar.gz
vyos-build-d91bfd3af41930a7a96b01a0b3a9a99791eabac5.zip
build: T3664: move sudo out of the make target
to avoid permission problems (cherry picked from commit abb5b518ab1e14801e03779a75f78c0b4f86d804)
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eefabdff..e0a22888 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: