Makefile: add hostname to /etc/hostname

This commit is contained in:
Albert Hopkins 2013-09-08 01:14:57 +00:00
parent 010aecbee0
commit bc45946ca6
1 changed files with 1 additions and 0 deletions

View File

@ -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: