Hi

On 2018-08-21, David Bauer wrote:
> On 8/21/18 8:31 AM, Stefan Lippers-Hollmann wrote:
> > While this passes the version check, the appended git hash does break 
> > later on in the flashing process - so at the moment only the numerical
> > revision (of DISTRIB_REVISION='r7890-40eb9bda44') seems to be safe:
> > 
> > RAS_VERSION := "V1.99(OWRT.$$(shell echo $(REVISION) | sed -e s/^r// -e 
> > s/\\-.*//))C0"  
> 
> Does the version string contained in the RAS-header get exposed to a
> user in any way? If not, i would go for using a static (high enough so
> it probably never get's used by ZyXEL) version string and call it a day
> before we are over-complicating things here.
[...]

The OEM firmware doesn't expose any information about the other 
partition set, OpenWrt could make use of it via 
luci-app-advanced-reboot  (but hasn't been doing that so far, as
OpenWrt installs and sysupgrades don't update the header partition
so far).

But hardcoding RAS_VERSION := "V1.99(OWRT.9999)C0 should be fine for 
the forseeable future as well.

Regards
        Stefan Lippers-Hollmann

Attachment: pgp5Pz6xkxtHD.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to