Update system before world, lock passwords last.

This commit is contained in:
Albert Hopkins 2010-07-10 16:03:39 -04:00
parent 8a7b5f1700
commit a2cd06b30f
1 changed files with 5 additions and 5 deletions

View File

@ -112,8 +112,6 @@ sysconfig: preproot fstab
echo 'config_eth0=( "dhcp" )' > $(CHROOT)/etc/conf.d/net
chroot $(CHROOT) rc-update add net.eth0 default
echo "127.0.0.1 $(HOSTNAME) localhost" > $(CHROOT)/etc/hosts
chroot $(CHROOT) passwd -d root
chroot $(CHROOT) passwd -e root
touch sysconfig
systools: sysconfig compile_options
@ -132,15 +130,17 @@ grub: systools grub.conf kernel
software: systools issue etc-update.conf critical world preinstall postinstall
./preinstall "$(CHROOT)"
chroot $(CHROOT) emerge -DNn $(USEPKG) `cat world`
chroot $(CHROOT) emerge -DN $(USEPKG) system
cp etc-update.conf $(CHROOT)/etc/
chroot $(CHROOT) etc-update
chroot $(CHROOT) emerge -DNn $(USEPKG) `cat world`
chroot $(CHROOT) emerge -1n app-portage/gentoolkit
chroot $(CHROOT) revdep-rebuild -i
cp issue $(CHROOT)/etc/issue
cp etc-update.conf $(CHROOT)/etc/
chroot $(CHROOT) etc-update
chroot $(CHROOT) emerge --depclean --with-bdeps=n
chroot $(CHROOT) gcc-config 1
chroot $(CHROOT) passwd -d root
chroot $(CHROOT) passwd -e root
./postinstall "$(CHROOT)"
if [ "$(PRUNE_CRITICAL)" = "YES" ] ; then \
chroot $(CHROOT) emerge -C `cat critical` ; \