From 73077cd82879c432bb8311b9aaf501c8d4594217 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 30 Dec 2017 17:53:08 +0100 Subject: [PATCH] Clean environment variables for pacstrap --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1fce2e8..d799f07 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DOCKER_IMAGE:=base rootfs: $(eval TMPDIR := $(shell mktemp -d)) - pacstrap -C /usr/share/devtools/pacman-extra.conf -c -d -G -M $(TMPDIR) $(shell cat packages) + env -i pacstrap -C /usr/share/devtools/pacman-extra.conf -c -d -G -M $(TMPDIR) $(shell cat packages) cp --recursive --preserve=timestamps --backup --suffix=.pacnew rootfs/* $(TMPDIR)/ arch-chroot $(TMPDIR) locale-gen arch-chroot $(TMPDIR) pacman-key --init