From f3aaf856cc37521d272666927a0d855ff862efd5 Mon Sep 17 00:00:00 2001
From: Andrew Robbins <contact@andrewrobbins.info>
Date: Thu, 18 Jan 2018 17:49:06 -0500
Subject: Don't bother checking for git repo in bucts source

bucts' sources are kept in its project directory which means we can
skip checking for a git repository and instead skip straight to
creating the sources archive when releasing images/sources.

i.e., project_release_sources_git() called git_project_check() with
'bucts' as an argument, wasting time and resources looking in
$root/$SOURCES/bucts (which doesn't exist) and ultimately concluding
that the assumed location of bucts' sources isn't a git
repository (which is true).

We can avoid that circumlocution by simply calling
project_release_sources_archive_create() instead of
project_release_sources_git() within the release() and release_check()
actions.
---
 projects/bucts/bucts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'projects/bucts')

diff --git a/projects/bucts/bucts b/projects/bucts/bucts
index 4b5d81bb..4eea684a 100644
--- a/projects/bucts/bucts
+++ b/projects/bucts/bucts
@@ -83,14 +83,14 @@ release() {
 	local repository="$project"
 
 	project_release_install_archive "$project" "$TOOLS" "$@"
-	project_release_sources_git "$project" "$repository" "$@"
+	project_release_sources_archive_create "$project" "$@"
 }
 
 release_check() {
 	local repository="bucts"
 
 	project_release_install_archive_check "$project" "$TOOLS" "$@"
-	project_release_check_sources_git "$project" "$repository" "$@"
+	project_release_sources_archive_exists_check "$project" "$@"
 }
 
 clean() {
-- 
cgit v1.2.3-70-g09d2


From d91ed38eb8b1fed0b20e1a8d89bf57b7ab8f5ec9 Mon Sep 17 00:00:00 2001
From: Andrew Robbins <contact@andrewrobbins.info>
Date: Thu, 18 Jan 2018 17:54:19 -0500
Subject: Remove unnecessary bucts targets file

There's no difference between the 'generic' and 'lenovobios' bucts and
simply wastes time compiling another bucts binary for no gain.  If in
the future such a distinction makes sense, the targets file can be
re-added.
---
 projects/bucts/configs/targets | 2 --
 1 file changed, 2 deletions(-)
 delete mode 100644 projects/bucts/configs/targets

(limited to 'projects/bucts')

diff --git a/projects/bucts/configs/targets b/projects/bucts/configs/targets
deleted file mode 100644
index 915652d5..00000000
--- a/projects/bucts/configs/targets
+++ /dev/null
@@ -1,2 +0,0 @@
-generic
-lenovobios
-- 
cgit v1.2.3-70-g09d2