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?!
This commit is contained in:
parent
0d0af1a03e
commit
ae1b17132e
4
Makefile
4
Makefile
|
@ -349,6 +349,9 @@ checksums:
|
||||||
cd $(IMAGES) && sha256sum --binary * > $(CHECKSUMS).tmp
|
cd $(IMAGES) && sha256sum --binary * > $(CHECKSUMS).tmp
|
||||||
mv $(CHECKSUMS).tmp $(CHECKSUMS)
|
mv $(CHECKSUMS).tmp $(CHECKSUMS)
|
||||||
|
|
||||||
|
shell: $(PREPROOT)
|
||||||
|
$(inroot)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@scripts/echo 'Help targets (this is not a comprehensive list)'
|
@scripts/echo 'Help targets (this is not a comprehensive list)'
|
||||||
@echo
|
@echo
|
||||||
|
@ -358,6 +361,7 @@ help:
|
||||||
@echo 'clean - Unmount chroot and clean directory'
|
@echo 'clean - Unmount chroot and clean directory'
|
||||||
@echo 'eclean - Clean outdated packages and distfiles'
|
@echo 'eclean - Clean outdated packages and distfiles'
|
||||||
@echo 'realclean - Clean and remove image files'
|
@echo 'realclean - Clean and remove image files'
|
||||||
|
@echo 'shell - Enter a shell in the build environment'
|
||||||
@scripts/echo 'Images'
|
@scripts/echo 'Images'
|
||||||
@echo 'image - Build a raw VM image from stage4'
|
@echo 'image - Build a raw VM image from stage4'
|
||||||
@echo 'qcow - Build a qcow VM image from a raw image'
|
@echo 'qcow - Build a qcow VM image from a raw image'
|
||||||
|
|
Loading…
Reference in New Issue