[Grml] Cannot build grml from within grml

Marc Haber mh+grml at zugschlus.de
Tue Sep 26 16:21:48 CEST 2017


On Tue, Sep 26, 2017 at 01:31:25PM +0200, Michael Prokop wrote:
> From 365d35eb56f6abceb38b3f3ebc280f1ffb44b20a Mon Sep 17 00:00:00 2001
> From: Michael Prokop <mika at 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!'

current git says it's 0.31.0, and there is no behavioral change with
this patch applied.

Greetings
Marc
-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the Grml mailing list