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.
444 B
444 B
BRW= ""
RED= ""
GREEN= ""
ORANGE= ""
BLUE= ""
WHITE= ""
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
RED= ""
GREEN= ""
ORANGE= ""
BLUE= ""
WHITE= ""
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