forked from public/airgap
1
0
Fork 0

remove tree state and add version to bootup prompt

This commit is contained in:
Lance Vick 2023-02-15 02:35:19 -08:00
parent 5c5e278bd5
commit cea1de6fb0
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,7 @@ BOARD_DIR="$(dirname $0)"
cp -f ${BOARD_DIR}/grub.cfg ${TARGET_DIR}/boot/grub/grub.cfg 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_AUTHOR=\"${GIT_AUTHOR}\"" >> ${TARGET_DIR}/etc/environment
echo "export GIT_KEY=\"${GIT_KEY}\"" >> ${TARGET_DIR}/etc/environment echo "export GIT_KEY=\"${GIT_KEY}\"" >> ${TARGET_DIR}/etc/environment

View File

@ -17,7 +17,6 @@ EOF
echo " Build Details:" echo " Build Details:"
echo " - Version: $VERSION" echo " - Version: $VERSION"
echo " - Date: $GIT_TIMESTAMP" echo " - Date: $GIT_TIMESTAMP"
echo " - Tree State: $GIT_STATE"
echo " - Committer: $GIT_AUTHOR" echo " - Committer: $GIT_AUTHOR"
echo " - Commit: $GIT_REF" echo " - Commit: $GIT_REF"
echo " - Key: $GIT_KEY" echo " - Key: $GIT_KEY"