From 892dd4e15a0618b1d901f9ebc435da2e29f79c34 Mon Sep 17 00:00:00 2001
From: Maximilian Gerhard <maxbox@directbox.com>
Date: Sun, 8 Apr 2012 18:30:06 +0200
Subject: avoid copying iso files into ram when using tmpfs

---
 auto/build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auto/build b/auto/build
index 6f51195..1d16389 100755
--- a/auto/build
+++ b/auto/build
@@ -65,7 +65,7 @@ if [ "$LB_KANOTIX_TMPFS" = "true" ]; then
        # delete everything except cache
        find . -maxdepth 1 ! -name cache -exec rm -r '{}' \; 2>/dev/null
        # copy everything to tmpfs
-       rsync -a .. . --exclude=tmpfs
+       rsync -a .. . --exclude=tmpfs --exclude '*.iso'
        # build
        prebuild
        time lb build noauto "${@}" 2>&1 | tee binary.log
-- 
cgit v1.0