--- zzzz-none-000/linux-3.10.107/scripts/setlocalversion 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/scripts/setlocalversion 2021-02-04 17:41:59.000000000 +0000 @@ -71,9 +71,6 @@ printf -- '-svn%s' "`git svn find-rev $head`" fi - # Update index only on r/w media - [ -w . ] && git update-index --refresh --unmerged > /dev/null - # Check for uncommitted changes if git diff-index --name-only HEAD | grep -qv "^scripts/package"; then printf '%s' -dirty @@ -167,7 +164,7 @@ # annotated or signed tagged state (as git describe only # looks at signed or annotated tags - git tag -a/-s) and # LOCALVERSION= is not specified - if test "${LOCALVERSION+set}" != "set"; then + if test "${CONFIG_LOCALVERSION+set}" != "set"; then scm=$(scm_version --short) res="$res${scm:++}" fi