From 365d35eb56f6abceb38b3f3ebc280f1ffb44b20a Mon Sep 17 00:00:00 2001
From: Michael Prokop <mika@grml.org>
Date: Tue, 26 Sep 2017 13:29:10 +0200
Subject: [PATCH 1/1] Skip boot stuff

---
 grml-live | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/grml-live b/grml-live
index f561355d..a0917b51 100755
--- a/grml-live
+++ b/grml-live
@@ -972,6 +972,9 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then
     log   "Skipping stage 'boot' as building with bootstrap only."
     ewarn "Skipping stage 'boot' as building with bootstrap only." ; eend 0
   else
+    if [ -d "$BUILD_OUTPUT"/boot/isolinux -a -z "$UPDATE" -a -z "$BUILD_ONLY" ] ; then
+      ewarn "Skipping boot stuff" ; eend 0
+    else
     # booting stuff:
     mkdir -p "$BUILD_OUTPUT"/boot/isolinux
     mkdir -p "$BUILD_OUTPUT"/boot/"${SHORT_NAME}"
@@ -1273,6 +1276,7 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then
 
     FORCE_ISO_REBUILD=true
     einfo "Finished execution of stage 'boot'" ; eend 0
+    fi
   fi # BOOTSTRAP_ONLY
 else
   log    'Error: Unsupported ARCH, sorry. Want to support it? Contribute!'
-- 
2.11.0

