From 08eb9168f73c76680b6fc257bc904bd24e688c5f Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Wed, 7 Mar 2012 00:53:25 +0100
Subject: don't fail if some gfxoverlays can't be built

---
 config/binary_local-hooks/gfxoverlays | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/binary_local-hooks/gfxoverlays b/config/binary_local-hooks/gfxoverlays
index 4341113..bc86da5 100755
--- a/config/binary_local-hooks/gfxoverlays
+++ b/config/binary_local-hooks/gfxoverlays
@@ -14,7 +14,7 @@ DIRS+="${CACHE}overlay$bit-$drv-$ver "
 done < <(cut -d'#' -f1 config/gfxoverlays/versions | grep .)
 if [ ! -e "$CACHE/overlay.$bit.squashfs" -o "$UPDATE" ]; then
         rm -f "$CACHE/overlay.$bit.squashfs"
-        mksquashfs $DIRS "$CACHE/overlay.$bit.squashfs"
+        mksquashfs $(ls -d $DIRS) "$CACHE/overlay.$bit.squashfs" || exit 0
 fi
 mkdir -p binary/gfxoverlay
 cp "$CACHE/overlay.$bit.squashfs" binary/gfxoverlay/
-- 
cgit v1.0