libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0822755786a7f97faef9b2c8a10ff92f380f69d9
parent dcda30deb167742f2f369225141a6495239bcb7f
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 11 Oct 2015 03:43:24 +0100

download/coreboot: add coreboot version info

Diffstat:
resources/scripts/helpers/download/coreboot | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot @@ -155,4 +155,13 @@ cd "../" printf "Deblobbing coreboot\n" ./resources/utilities/coreboot-libre/deblob +if [ -f "version" ]; then + # _src release archive is being used + version="libreboot-$(cat version)" +else + # git repo is being used + version="libreboot-$(git describe --tags HEAD)" +fi +printf '%s\n' "${version}" >"coreboot/.coreboot-version" + printf "\n\n"