From 1103b79fa046512670ee5fdbda74ab8a7462e9a3 Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Tue, 8 May 2018 16:43:39 -0500
Subject: [PATCH] workshop: add repo, try pre-building

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 target/chroot/beagleboard.org-stretch.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/target/chroot/beagleboard.org-stretch.sh b/target/chroot/beagleboard.org-stretch.sh
index 312decd3e..73585c727 100755
--- a/target/chroot/beagleboard.org-stretch.sh
+++ b/target/chroot/beagleboard.org-stretch.sh
@@ -368,6 +368,17 @@ install_git_repos () {
 	fi
 }
 
+workshop_stuff () {
+	git_repo="https://github.com/RobertCNelson/Teardown-2018-PocketBeagle"
+	git_target_dir="/home/debian/Teardown-2018-PocketBeagle"
+	git_clone
+	if [ -f ${git_target_dir}/.git/config ] ; then
+		cd ${git_target_dir}/
+		./scripts/get_all.sh
+		./scripts/build_u-boot.sh
+	fi
+}
+
 other_source_links () {
 	rcn_https="https://rcn-ee.com/repos/git/u-boot-patches"
 
@@ -416,6 +427,7 @@ if [ -f /usr/bin/git ] ; then
 	git config --global --unset-all user.email
 	git config --global --unset-all user.name
 fi
+workshop_stuff
 other_source_links
 #unsecure_root
 #
-- 
GitLab