remove tree state and add version to bootup prompt
This commit is contained in:
parent
5c5e278bd5
commit
cea1de6fb0
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue