Clean environment variables for pacstrap

This commit is contained in:
Pierre Schmitz 2017-12-30 17:53:08 +01:00
parent cf3047183d
commit 73077cd828

View file

@ -4,7 +4,7 @@ DOCKER_IMAGE:=base
rootfs: rootfs:
$(eval TMPDIR := $(shell mktemp -d)) $(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)/ cp --recursive --preserve=timestamps --backup --suffix=.pacnew rootfs/* $(TMPDIR)/
arch-chroot $(TMPDIR) locale-gen arch-chroot $(TMPDIR) locale-gen
arch-chroot $(TMPDIR) pacman-key --init arch-chroot $(TMPDIR) pacman-key --init