1 | BRW= "[0;1m"
|
---|
2 | RED= "[0;31m"
|
---|
3 | GREEN= "[0;32m"
|
---|
4 | ORANGE= "[0;33m"
|
---|
5 | BLUE= "[1;34m"
|
---|
6 | WHITE= "[00m"
|
---|
7 |
|
---|
8 | define echo_message
|
---|
9 | @echo $(BRW)
|
---|
10 | @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
11 | @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
|
---|
12 | @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
|
---|
13 | endef
|
---|
14 |
|
---|
15 | define unpack
|
---|
16 | @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
|
---|
17 | endef
|
---|
18 |
|
---|
19 | define 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
|
---|
44 | @echo If you are an experienced LFS user, several of those 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.
|
---|
47 | @echo $(BRW)
|
---|
48 | @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
49 | @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BRW)
|
---|
50 | @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
|
---|
51 | endef
|
---|