From ae1b17132e66768f53775d9db1e4d0203e110646 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Wed, 9 Dec 2015 18:15:09 +0000 Subject: [PATCH] Makefile: add a "shell" target This will put you at a shell prompt inside the build environment. Why didn't I think of this before?! --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fb205c4..7599b3a 100644 --- a/Makefile +++ b/Makefile @@ -349,6 +349,9 @@ checksums: cd $(IMAGES) && sha256sum --binary * > $(CHECKSUMS).tmp mv $(CHECKSUMS).tmp $(CHECKSUMS) +shell: $(PREPROOT) + $(inroot) + help: @scripts/echo 'Help targets (this is not a comprehensive list)' @echo @@ -358,6 +361,7 @@ help: @echo 'clean - Unmount chroot and clean directory' @echo 'eclean - Clean outdated packages and distfiles' @echo 'realclean - Clean and remove image files' + @echo 'shell - Enter a shell in the build environment' @scripts/echo 'Images' @echo 'image - Build a raw VM image from stage4' @echo 'qcow - Build a qcow VM image from a raw image'