From 1bcb406bbc99d557e3d27c3d6473348f5196f0bc Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 2 Feb 2024 14:25:16 +0100 Subject: use rootless podman --- makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3