From bc45946ca634f93b95d03e6b5a7de7b06a166e31 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Sun, 8 Sep 2013 01:14:57 +0000 Subject: [PATCH] Makefile: add hostname to /etc/hostname --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5aeaa8b..4c85509 100644 --- a/Makefile +++ b/Makefile @@ -141,6 +141,7 @@ preproot: stage3 mounts portage fstab $(inroot) sed -i 's/root:.*/root::9797:0:::::/' /etc/shadow cp fstab $(CHROOT)/etc/fstab echo hostname=\"$(HOSTNAME)\" > $(CHROOT)/etc/conf.d/hostname + echo $(HOSTNAME) > $(CHROOT)/etc/hostname touch preproot stage3-$(ARCH)-latest.tar.bz2: