luci.mk: fix length of abbreviated hash in version
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 30 Apr 2017 08:48:05 +0000 (11:48 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 30 Apr 2017 08:48:05 +0000 (11:48 +0300)
commite3bd7b5ee02a51518752846b8ae66fbabba51734
tree5c85e4d21983ddbbc331ae19b3d3809a222e223a
parent71f669b3bd3cfeb38bed95939a27eb623812609e
luci.mk: fix length of abbreviated hash in version

Fix the length of the abbreviated commit hash used in
the LuCI version string used in the package names.
Use the old standard of seven characters in hash.

New git versions vary the length of the abbreviated
commit hash based on the number of objects in repo. That
may lead into different hash lengths with e.g. having
full/shallow git history, having all/single branch or
having different git versions in different build hosts.

Different hash lengths in package name may lead to
sneaky opkg install errors, as opkg apparently preserves
info for removed packages and may prefer that.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b9159c53472d1788284d363dc6ffff8c2542e4be)
luci.mk