From 54015ae1550aba52a8c048ebb960c737ea3e64cd Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Wed, 15 Feb 2023 04:52:28 -0800 Subject: [PATCH] don't overwrite VERSION in /etc/environment --- config/buildroot/board/x86_64/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/buildroot/board/x86_64/post-build.sh b/config/buildroot/board/x86_64/post-build.sh index 50d5658..e171eb4 100755 --- a/config/buildroot/board/x86_64/post-build.sh +++ b/config/buildroot/board/x86_64/post-build.sh @@ -9,7 +9,7 @@ BOARD_DIR="$(dirname $0)" cp -f ${BOARD_DIR}/grub.cfg ${TARGET_DIR}/boot/grub/grub.cfg echo "export VERSION=\"${VERSION}\"" > ${TARGET_DIR}/etc/environment -echo "export GIT_REF=\"${GIT_REF}\"" > ${TARGET_DIR}/etc/environment +echo "export GIT_REF=\"${GIT_REF}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_AUTHOR=\"${GIT_AUTHOR}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_KEY=\"${GIT_KEY}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_TIMESTAMP=\"${GIT_TIMESTAMP}\"" >> ${TARGET_DIR}/etc/environment