Commit 2b47da98 authored by Michael Shigorin's avatar Michael Shigorin

fixed stage1 for syslinux.iso

squashcfk.mk is not to be attempted to copy unconditionally, if we've got no kernel for stage2 there's no data (and hook) to create it there
parent f5a8b893
......@@ -41,8 +41,10 @@ CHROOT_PACKAGES = $(STAGE1_PACKAGES) $(COMMON_PACKAGES)
# scripts prepare bootloader configuration, too
# NB: we pass tested squashfs options for ../install2/Makefile
all: | debug prepare-workdir copy-tree run-scripts build-propagator \
copy-$(BOOTLOADER) pack-image $(GLOBAL_CLEAN_WORKDIR)
@cp $(OUTDIR)/squashcfg.mk $(GLOBAL_BUILDDIR)/
copy-$(BOOTLOADER) $(COPY_SQUASHCFG) pack-image $(GLOBAL_CLEAN_WORKDIR)
@if test -s $(OUTDIR)/squashcfg.mk; then \
cp $(OUTDIR)/squashcfg.mk $(GLOBAL_BUILDDIR)/; \
fi
debug:
@if test -n "$(GLOBAL_VERBOSE)"; then \
......
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