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.
This commit is contained in:
Albert Hopkins 2015-04-10 09:25:44 +00:00
parent db224c4bb8
commit b0a7dae92b
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ $(SOFTWARE): $(STAGE3) $(SYSTOOLS) configs/eth.network configs/issue $(WORLD)
$(inroot) $(EMERGE) $(USEPKG) --update --newuse --deep world $(inroot) $(EMERGE) $(USEPKG) --update --newuse --deep world
$(inroot) $(EMERGE) --depclean --with-bdeps=n $(inroot) $(EMERGE) --depclean --with-bdeps=n
-$(gcc_config) -$(gcc_config)
EDITOR=/usr/bin/nano $(inroot) etc-update $(inroot) --setenv EDITOR=/usr/bin/nano etc-update
$(MAKE) -C appliances/$(APPLIANCE) postinstall $(MAKE) -C appliances/$(APPLIANCE) postinstall
cp configs/eth.network $(CHROOT)/etc/systemd/network/eth.network cp configs/eth.network $(CHROOT)/etc/systemd/network/eth.network
$(inroot) systemctl enable systemd-networkd.service $(inroot) systemctl enable systemd-networkd.service