diff --git a/scripts/chroot.sh b/scripts/chroot.sh
index 5bde0135b6d0b4e718400e84271f28da045a85c2..5ec32f72526ad5f4914e48c2871c2cf2523d8553 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