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- 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)
|
---|
49 | endef
|
---|