source: functions@ f0f60d0

0.2 1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since f0f60d0 was 898f47a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Added echo_finished function.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[d7fd195]1BRW= "[0;1m"
2RED= "[0;31m"
3GREEN= "[0;32m"
4ORANGE= "[0;33m"
5BLUE= "[1;34m"
6WHITE= "[00m"
[47e0a38]7
8define echo_message
[4c62c61]9 @echo $(BRW)
10 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
12 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
[47e0a38]13endef
14
15define unpack
[4c62c61]16 @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
[47e0a38]17endef
[898f47a]18
19define echo_finished
20 @echo $(BRW)
21 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 @echo $(BRW)Finished the build of $(BLUE)LFS-$(1)$(BRW)
23 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 @echo -e \\t\\t$(RED)W A R N I N G$(BRW)
25 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26 @echo
27 @echo To be able to boot your new LFS system you need to follow
28 @echo the next steps:$(WHITE)
29 @echo
30 @echo -e \\t- Enter to the chroot using the command found
31 @echo -e \\tin chapter06/revisedchroot.html
32 @echo
33 @echo -e \\t- Set a password for the root user
34 @echo
35 @echo -e \\t- Set your local time zone. See chapter06/glibc.html
36 @echo
37 @echo -e \\t- Edit /etc/fstab, /etc/hosts, /etc/sysconfig/clock,
38 @echo -e \\t/etc/sysconfig/console, /etc/sysconfig/network,
39 @echo -e \\t/etc/sysconfig/ifconfig.eth0/ipv4 and any other configuration
40 @echo -e \\tfile required to suit your needs.
41 @echo
42 @echo -e \\t- Set-up Grub. See chapter08/grub.html
43 @echo
44 @echo -e \\t- Unmount the filesystems. See chapter09/reboot.html
45 @echo $(BRW)
46 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BRW)
48 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
49endef
Note: See TracBrowser for help on using the repository browser.