From 557595662b41cfa4fed1822a8d13e3ada5a582d1 Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Date: Sat, 29 Aug 2015 21:00:17 +0200
Subject: [PATCH] image: pre build the mbr image

(i.e. at the same time the content is created)
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 61a2e69..8571e88 100644
--- a/Makefile
+++ b/Makefile
@@ -458,7 +458,7 @@ $(IMAGE_DIR)$(GRUB_INSTALL_DIR)/lipinfo.cfg : | $(WORKSPACE)
 	echo "set lip_release=\"$(ISO_RELEASE)\"" >> "$@"
 	echo "set lip_extra_info=\"$(IMAGE_EXTRA_INFO)\"" >> "$@"
 
-image : image_content
+image : image_content $(GRUB_ASSEMBLE_DIR)/mbr.img
 
 gparted : $(call archdir,$(PRIMARY_ARCH))/gparted-live.iso $(call archdir,$(SECONDARY_ARCH))/gparted-live.iso
 $(call gentargets,/gparted-live.iso) :
-- 
GitLab