[LEDE-DEV] [PATCH] ar71xx: change image version for ubiquiti devices
Felix Fietkau
nbd at nbd.name
Wed Apr 26 01:36:43 PDT 2017
On 2017-04-05 23:44, Matthias Fritzsche wrote:
> changes the image version from hardcoded OpenWrt to
> $VERSION_DIST. AirOS shows a notification with the image version
> during a firmware upgrade.
>
> fixes #582
>
> Signed-off-by: Matthias Fritzsche <txt.file at txtfile.eu>
> ---
> target/linux/ar71xx/image/ubnt.mk | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/linux/ar71xx/image/ubnt.mk b/target/linux/ar71xx/image/ubnt.mk
> index b203d6a..056dced 100644
> --- a/target/linux/ar71xx/image/ubnt.mk
> +++ b/target/linux/ar71xx/image/ubnt.mk
> @@ -6,7 +6,7 @@
> # routerboard creates partitions out of the ubnt header
> define Build/mkubntimage
> -$(STAGING_DIR_HOST)/bin/mkfwimage \
> - -B $(UBNT_BOARD) -v $(UBNT_TYPE).$(UBNT_CHIP).v6.0.0-OpenWrt-$(REVISION) \
> + -B $(UBNT_BOARD) -v $(UBNT_TYPE).$(UBNT_CHIP).v0.0.0-$(VERSION_DIST)-$(REVISION) \
The Ubiquiti firmware web interface parses the version number, right?
Did you do any tests to check how it reacts to the 0.0.0 version number?
- Felix
More information about the Lede-dev
mailing list