[LEDE-DEV] How LEDE knows when to "reinstall" base-files (after revision change)?

Rafał Miłecki zajec5 at gmail.com
Tue Nov 15 02:23:58 PST 2016


On 3 November 2016 at 17:51, Rafał Miłecki <zajec5 at gmail.com> wrote:
> I'm trying to understand how REVISION variable and getver.sh work. There is this
> nice feature: whenever a new git commit appears, getver.sh is used to calculate
> new revision and it's used for /etc/openwrt_version. LEDE never misses an update
> of git commit.
>
> (...)
>
> Can someone explain me, how does it work for REVISION and getver.sh, please?

I can. Package versions changes every time REVISION changes, see:
VERSION:=$(PKG_RELEASE)-$(REVISION)



More information about the Lede-dev mailing list