Commit e8f63357 authored by Konstantin A. Lepikhov's avatar Konstantin A. Lepikhov Committed by Michael Shigorin

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.
parent 9f72780d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment