4c62c61a0a
All packages are unpacked, and the sources directories deleted, outside chroot. Added echo_message to Chapter06 targets. Fixed the 067-readjusting target creation. Added -x tu the du command to skipp kernel filesystems (I think). Sourced envars from inside the chroot command.
17 lines
444 B
Text
17 lines
444 B
Text
BRW= "[0;1m"
|
||
RED= "[0;31m"
|
||
GREEN= "[0;32m"
|
||
ORANGE= "[0;33m"
|
||
BLUE= "[1;34m"
|
||
WHITE= "[00m"
|
||
|
||
define echo_message
|
||
@echo $(BRW)
|
||
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
@echo $(BRW)$(1) target $(BLUE)$@$(BRW)
|
||
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
|
||
endef
|
||
|
||
define unpack
|
||
@cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
|
||
endef
|