New makefile variable, ROOT_PASSWORD, to set the (encrypted) root password
This commit is contained in:
parent
93a6eaf2f6
commit
3b6351d610
6
Makefile
6
Makefile
|
@ -48,7 +48,11 @@ else
|
|||
endif
|
||||
|
||||
ifeq ($(CHANGE_PASSWORD),YES)
|
||||
change_password = chroot $(CHROOT) passwd -d root; chroot $(CHROOT) passwd -e root
|
||||
ifdef ROOT_PASSWORD
|
||||
change_password = chroot $(CHROOT) usermod -p '$(ROOT_PASSWORD)' root
|
||||
else
|
||||
change_password = chroot $(CHROOT) passwd -d root; chroot $(CHROOT) passwd -e root
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(REMOVE_PORTAGE_TREE),YES)
|
||||
|
|
Loading…
Reference in New Issue