From 68e1bbdc60568fb2cefabd59abbe9f78312a62bf Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Thu, 5 Dec 2013 12:50:28 -0600
Subject: [PATCH] cloud9: this saves 39MB

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 scripts/chroot.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/chroot.sh b/scripts/chroot.sh
index 5bde0135b..5ec32f725 100755
--- a/scripts/chroot.sh
+++ b/scripts/chroot.sh
@@ -696,9 +696,9 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
 				#npm install
 
 				mkdir -p /var/lib/cloud9 || true
-				qemu_command="git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 || true"
+				qemu_command="git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 --depth 1 || true"
 				qemu_warning
-				git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 || true
+				git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 --depth 1 || true
 				chown -R ${user_name}:${user_name} /var/lib/cloud9
 			fi
 		else
-- 
GitLab