makefile-functions: make sudo/chroot messages less confusing

This commit is contained in:
Pierre Labastie 2022-02-05 20:08:56 +01:00
parent 20051e00f7
commit 2e35653630

View file

@ -31,21 +31,21 @@ define echo_SU_request
@echo $(BOLD)-------------------------------------------------------------------------------- @echo $(BOLD)--------------------------------------------------------------------------------
@echo $(BLUE)$@ @echo $(BLUE)$@
@echo $(WHITE)ROOT privilege is required to perform a number of commands @echo $(WHITE)ROOT privilege is required to perform a number of commands
@echo sudo will request a password in order to execute all high privilege commands @echo sudo may request a password in order to execute all high privilege commands
endef endef
define echo_SULUSER_request define echo_SULUSER_request
@echo $(BOLD)-------------------------------------------------------------------------------- @echo $(BOLD)--------------------------------------------------------------------------------
@echo $(BOLD)$(BLUE)$@ @echo $(BOLD)$(BLUE)$@
@echo $(WHITE)You are going to log into the user account $(BOLD)$(YELLOW)$(LUSER)$(OFF) @echo $(WHITE)You are going to log into the user account $(BOLD)$(YELLOW)$(LUSER)$(OFF)
@echo sudo requires a password @echo sudo may require a password
endef endef
define echo_CHROOT_request define echo_CHROOT_request
@echo $(BOLD)-------------------------------------------------------------------------------- @echo $(BOLD)--------------------------------------------------------------------------------
@echo $(BOLD)$(BLUE)$@ @echo $(BOLD)$(BLUE)$@
@echo $(WHITE)You are going to CHROOT into $(MOUNT_PT) $(BOLD)$(YELLOW)$(LUSER)$(OFF) @echo $(WHITE)You are going to CHROOT into $(MOUNT_PT)
@echo a password is required @echo a password may be required
endef endef
define echo_message define echo_message