From 18b945ffb2ed771e7b234af30882f048c27c5e65 Mon Sep 17 00:00:00 2001 From: Kevin Stone Date: Sun, 11 Aug 2019 10:44:00 -0500 Subject: Moved git-hash determination to passed in build variable (#273) --- scripts/common | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/common') diff --git a/scripts/common b/scripts/common index f264755..68fab54 100644 --- a/scripts/common +++ b/scripts/common @@ -94,9 +94,6 @@ on_chroot() { export -f on_chroot update_issue() { - local GIT_HASH - GIT_HASH=$(git rev-parse HEAD) echo -e "Raspberry Pi reference ${IMG_DATE}\nGenerated using ${PI_GEN}, ${PI_GEN_REPO}, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue" } export -f update_issue - -- cgit v1.2.3