source: functions@ 3e67a77

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

Added support to set the local time zone.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1BRW= "[0;1m"
2RED= "[0;31m"
3GREEN= "[0;32m"
4ORANGE= "[0;33m"
5BLUE= "[1;34m"
6WHITE= "[00m"
7
8define echo_message
9 @echo $(BRW)
10 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
12 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
13endef
14
15define unpack
16 @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
17endef
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- Edit /etc/fstab, /etc/hosts, /etc/sysconfig/clock,
36 @echo -e \\t/etc/sysconfig/console, /etc/sysconfig/network,
37 @echo -e \\t/etc/sysconfig/ifconfig.eth0/ipv4 and any other configuration
38 @echo -e \\tfile required to suit your needs.
39 @echo
40 @echo -e \\t- Set-up Grub. See chapter08/grub.html
41 @echo
42 @echo -e \\t- Unmount the filesystems. See chapter09/reboot.html
43 @echo $(BRW)
44 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BRW)
46 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
47endef
Note: See TracBrowser for help on using the repository browser.