Moved git-hash determination to passed in build variable (#273)

This commit is contained in:
Kevin Stone
2019-08-11 10:44:00 -05:00
committed by XECDesign
parent 920e22bdc5
commit 18b945ffb2
3 changed files with 7 additions and 3 deletions

View File

@@ -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