From c70f303cf14a547635944e685492d78a02607d45 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Wed, 28 Sep 2011 10:35:36 +0200
Subject: call linux32 outside of chroot

---
 build_gfxoverlay.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build_gfxoverlay.sh b/build_gfxoverlay.sh
index b9b0d78..69212dd 100755
--- a/build_gfxoverlay.sh
+++ b/build_gfxoverlay.sh
@@ -70,7 +70,7 @@ sed -i '/exit 3/d' overlay.sh
 chmod +x overlay.sh
 if [ "$(uname -m)" = "x86_64" ] && ! file bin/true | grep -q 'ELF 64-bit'; then
 	echo "Found 32bit chroot, using linux32..."
-	chroot . linux32 /overlay.sh -v $ver -z
+	linux32 chroot . /overlay.sh -v $ver -z
 else
 	chroot . /overlay.sh -v $ver -z
 fi
-- 
cgit v1.0