projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3826aa
)
hvk: remove default LOCALVERSION
author
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 20 Sep 2024 13:11:24 +0000
(09:11 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 20 Sep 2024 13:11:24 +0000
(09:11 -0400)
scripts/hvk-init.sh
patch
|
blob
|
history
diff --git
a/scripts/hvk-init.sh
b/scripts/hvk-init.sh
index
dc34592
..
d9e5aca
100755
(executable)
--- a/
scripts/hvk-init.sh
+++ b/
scripts/hvk-init.sh
@@
-27,12
+27,13
@@
if [ x"${1}" = x"yocto" ]; then
SCMVERSION=$(printf "%s%s" +g $head)
else
- LOCALVERSION="-latest"
SCMVERSION=""
fi
-echo "Force local kernel version to: ${LOCALVERSION}"
-sed -e "s/^\(CONFIG_LOCALVERSION=\"\).*/\1${LOCALVERSION}\"/" -i .config
+if [ x"${LOCALVERSION}" != x"" ]; then
+ echo "Force local kernel version to: ${LOCALVERSION}"
+ sed -e "s/^\(CONFIG_LOCALVERSION=\"\).*/\1${LOCALVERSION}\"/" -i .config
+fi
echo ${SCMVERSION} > .scmversion