source: functions@ 43757c2

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

Added a final note to echo_finished.
Thanks tu Bruce Dubbs to point this and the /etc/fstab stuff.

  • Property mode set to 100644
File size: 2.0 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
[7990087]30 @echo -e \\t- Enter to the chroot using the command found
[898f47a]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
[7990087]43 @echo
44 @echo If you're an experienced LFS user, several of that steps can be
45 @echo skipped or done in a different way. But then, that is something
46 @echo that you already know and there is no need to discuss it here.
[898f47a]47 @echo $(BRW)
48 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BRW)
50 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
51endef
Note: See TracBrowser for help on using the repository browser.