summaryrefslogtreecommitdiff
path: root/lbmk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-27 17:57:30 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-27 18:17:31 +0100
commit4a280c629fca886547eb0f4ebbe6319b75b240d7 (patch)
tree39ec0a077c77e7a40507b8edc1339b6f036768a0 /lbmk
parent355eb765ff47b0855a6f5655312608d3264e70bf (diff)
.gitcheck: re-write entirely. force global config.
the way the old script worked was extremely hacky it's cleaner just to make the user configure git i haven't used anything from the old .gitcheck script, which is now deleted. i completely re-wrote this, in a much simpler way. this is less maintenance now, when things change in the upstream projects. coreboot makes heavy use of git within its build system Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'lbmk')
-rwxr-xr-xlbmk5
1 files changed, 2 insertions, 3 deletions
diff --git a/lbmk b/lbmk
index 496d7145..0d5addc2 100755
--- a/lbmk
+++ b/lbmk
@@ -44,9 +44,10 @@ main()
err "running lbmk as root as not permitted"
fi
+ ./checkgit || err "Please read: https://libreboot.org/docs/build/"
+
buildpath="./script/${0##*/}"
- ./.gitcheck || err "/.gitcheck call from main, in /lbmk"
[ "${mode}" = "help" ] && usage ${0} && exit 0
[ "${mode}" = "list" ] && ./build command options "${buildpath}" && \
exit 0
@@ -84,8 +85,6 @@ main()
fi
"${buildpath}/${mode}/${option}" $@ || err "lbmk error"
esac
-
- ./.gitcheck clean || err "/.gitcheck clean call from main, in /lbmk"
}
install_dependencies()