aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-02 14:25:16 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-02 14:25:16 +0100
commit1bcb406bbc99d557e3d27c3d6473348f5196f0bc (patch)
treebe45f7769f879a02b74d742fff17e9669b9e45c4
parent6adec226decc4198e0b2caa2d90a36e34e595fd1 (diff)
use rootless podmanweek1
-rw-r--r--makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/makefile b/makefile
index 00a0da5..d692d93 100644
--- a/makefile
+++ b/makefile
@@ -7,10 +7,10 @@ ifneq ($(shell id -u),0)
AS_ROOT := sudo -n
endif
-CTR := $(AS_ROOT) podman
MOUNT := $(AS_ROOT) mount
UMOUNT := $(AS_ROOT) umount
+CTR := podman
CP := cp
GIT := git
@@ -18,8 +18,6 @@ CTR_IMG_TAG := avans-linux
CTRIZE := $(CTR) run --rm --interactive --tty
CTRIZE += --volume .:/workdir:rw
-# CTRIZE += --volume /tmp:/tmp:rw
-CTRIZE += --user $(shell id -u):$(shell id -g)
CTRIZE += --env-file ./env
CTRIZE += $(CTR_IMG_TAG)
@@ -38,7 +36,7 @@ $(SUBMODULE_INIT):
$(GIT) submodule update
.PHONY: os_bootloader
-os_bootloader: container_img $(SUBMODULE_INIT)
+os_bootloader: $(SUBMODULE_INIT)
$(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot am335x_evm_config
$(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot