From b0a7dae92b593a29de87d689455d0f7114b9a713 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Fri, 10 Apr 2015 09:25:44 +0000 Subject: [PATCH] make "etc-update" work It was using the old method of setting the EDITOR environment variable to nano, which does not work with systemd-nspawn. Fixed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83d3d7f..6fa2c64 100644 --- a/Makefile +++ b/Makefile @@ -228,7 +228,7 @@ $(SOFTWARE): $(STAGE3) $(SYSTOOLS) configs/eth.network configs/issue $(WORLD) $(inroot) $(EMERGE) $(USEPKG) --update --newuse --deep world $(inroot) $(EMERGE) --depclean --with-bdeps=n -$(gcc_config) - EDITOR=/usr/bin/nano $(inroot) etc-update + $(inroot) --setenv EDITOR=/usr/bin/nano etc-update $(MAKE) -C appliances/$(APPLIANCE) postinstall cp configs/eth.network $(CHROOT)/etc/systemd/network/eth.network $(inroot) systemctl enable systemd-networkd.service