sub.in/stage2: Added copy-tree to stage2
stage2 only allows to run certain scripts and install packages, but sometimes one need just to copy something to stage2 (like stage1 does). How to use: put files under ./files directory with the same structure as on resulting image.
This commit is contained in:
parent
9f72780d17
commit
e8f6335734
@ -13,6 +13,10 @@ include $(GLOBAL_BUILDDIR)/distcfg.mk
|
||||
include $(GLOBAL_BUILDDIR)/functions.mk
|
||||
include $(MKIMAGE_PREFIX)/config.mk
|
||||
|
||||
COPY_TREE = ./files
|
||||
|
||||
include $(MKIMAGE_PREFIX)/targets.mk
|
||||
|
||||
# this might have been prepared
|
||||
# by features.in/stage2/stage1/scripts.d/03-test-kernel
|
||||
-include $(GLOBAL_BUILDDIR)/squashcfg.mk
|
||||
@ -57,7 +61,7 @@ include $(MKIMAGE_PREFIX)/targets.mk
|
||||
GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)
|
||||
|
||||
all: | $(GLOBAL_DEBUG) \
|
||||
build-image run-image-scripts run-scripts pack-image \
|
||||
build-image run-image-scripts copy-tree run-scripts pack-image \
|
||||
$(GLOBAL_CLEAN_WORKDIR)
|
||||
|
||||
# dummy
|
||||
|
0
sub.in/stage2/files/.gitignore
vendored
Normal file
0
sub.in/stage2/files/.gitignore
vendored
Normal file
Loading…
Reference in New Issue
Block a user