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:
parent
4af41a26c9
commit
21bdb3778b
2 changed files with 3 additions and 4 deletions
5
build.sh
5
build.sh
|
@ -56,7 +56,7 @@ cp -rf root/* "$OMR_TARGET/source"
|
||||||
cat >> "$OMR_TARGET/source/package/base-files/files/etc/banner" <<EOF
|
cat >> "$OMR_TARGET/source/package/base-files/files/etc/banner" <<EOF
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
PACKAGE: $OMR_DIST
|
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 REPO: $(git config --get remote.origin.url)
|
||||||
BUILD DATE: $(date -u)
|
BUILD DATE: $(date -u)
|
||||||
|
@ -74,8 +74,7 @@ CONFIG_IMAGEOPT=y
|
||||||
CONFIG_VERSIONOPT=y
|
CONFIG_VERSIONOPT=y
|
||||||
CONFIG_VERSION_DIST="$OMR_DIST"
|
CONFIG_VERSION_DIST="$OMR_DIST"
|
||||||
CONFIG_VERSION_REPO="$OMR_REPO"
|
CONFIG_VERSION_REPO="$OMR_REPO"
|
||||||
CONFIG_VERSION_NUMBER="$(git describe --tag --always)"
|
CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" describe --tag --always)"
|
||||||
CONFIG_VERSION_CODE="$(git -C "$OMR_FEED" describe --tag --always)"
|
|
||||||
CONFIG_PACKAGE_${OMR_DIST}-full=y
|
CONFIG_PACKAGE_${OMR_DIST}-full=y
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
\___/| .__/\___|_||_|_| |_|_| |_| \___|_| |_| \___/\_,_|\__\___|_|
|
\___/| .__/\___|_||_|_| |_|_| |_| \___|_| |_| \___/\_,_|\__\___|_|
|
||||||
|_|
|
|_|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
(%V, %C)
|
(%C)
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue