1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Only print feed version

This commit is contained in:
Ycarus 2018-03-06 17:13:43 +01:00
parent 4af41a26c9
commit 21bdb3778b
2 changed files with 3 additions and 4 deletions

View file

@ -56,7 +56,7 @@ cp -rf root/* "$OMR_TARGET/source"
cat >> "$OMR_TARGET/source/package/base-files/files/etc/banner" <<EOF
-----------------------------------------------------
PACKAGE: $OMR_DIST
VERSION: $(git describe --tag --always)
VERSION: $(git -C "$OMR_FEED" describe --tag --always)
BUILD REPO: $(git config --get remote.origin.url)
BUILD DATE: $(date -u)
@ -74,8 +74,7 @@ CONFIG_IMAGEOPT=y
CONFIG_VERSIONOPT=y
CONFIG_VERSION_DIST="$OMR_DIST"
CONFIG_VERSION_REPO="$OMR_REPO"
CONFIG_VERSION_NUMBER="$(git describe --tag --always)"
CONFIG_VERSION_CODE="$(git -C "$OMR_FEED" describe --tag --always)"
CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" describe --tag --always)"
CONFIG_PACKAGE_${OMR_DIST}-full=y
EOF

View file

@ -4,5 +4,5 @@
\___/| .__/\___|_||_|_| |_|_| |_| \___|_| |_| \___/\_,_|\__\___|_|
|_|
------------------------------------------------------------------------------
(%V, %C)
(%C)
------------------------------------------------------------------------------