Makefile: run "postinstall" as late as possible

This is in case the "postinstall" step wants to override something that the
software target did.
This commit is contained in:
Albert Hopkins 2016-12-06 02:32:58 +00:00
parent 88dcafaa34
commit 4423189dba
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,6 @@ $(SOFTWARE): $(STAGE3) $(SYSTOOLS) configs/eth.network configs/issue $(WORLD)
$(inroot) $(EMERGE) --depclean --with-bdeps=n $(inroot) $(EMERGE) --depclean --with-bdeps=n
-$(gcc_config) -$(gcc_config)
$(inroot) --setenv EDITOR=/usr/bin/nano 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 cp configs/eth.network $(CHROOT)/etc/systemd/network/eth.network
$(inroot) systemctl enable systemd-networkd.service $(inroot) systemctl enable systemd-networkd.service
$(inroot) systemctl enable systemd-resolved.service $(inroot) systemctl enable systemd-resolved.service
@ -232,6 +231,7 @@ endif
ifeq ($(DASH),YES) ifeq ($(DASH),YES)
$(inroot) $(EMERGE) --depclean app-shells/bash $(inroot) $(EMERGE) --depclean app-shells/bash
endif endif
$(MAKE) -C appliances/$(APPLIANCE) postinstall
ifneq ($(PKGLIST),0) ifneq ($(PKGLIST),0)
echo \# > $(LST_FILE) echo \# > $(LST_FILE)
echo \# Gentoo Virtual Appliance \"$(APPLIANCE)\" package list >> $(LST_FILE) echo \# Gentoo Virtual Appliance \"$(APPLIANCE)\" package list >> $(LST_FILE)