Mismatch of Turris OS version due not updated base-files
It happens that /etc/turris-version
provides version from NEWS
and it is provided by package turris-version
. Thing is that base-files provides many files, but among them, these two are important /etc/openwrt_release
- and /etc/os-release
Right now, base-files is versioned by PKG_RELEASE in Makefile, but also with hash (revision) from openwrt-19.07 branch in OpenWrt. Source: https://github.com/openwrt/openwrt/blob/openwrt-19.07/package/base-files/Makefile#L43
Let's take a look:
opkg list-installed | grep base-files
base-files - 204.2-78c4c04
Hash corresponds to this commit: https://github.com/openwrt/openwrt/commit/78c4c04dd7979a7f6d3cadeb1783b6c38d63b575
We should find a way how to have correct versions of Turris OS in base-files if there are no changes done in OpenWrt branch.
Current behaviour:
root@turris:~# cat /etc/openwrt_release
DISTRIB_ID='TurrisOS'
DISTRIB_RELEASE='5.1.3'
DISTRIB_REVISION='78c4c04'
DISTRIB_TARGET='mvebu/cortexa9'
DISTRIB_ARCH='arm_cortex-a9_vfpv3-d16'
DISTRIB_DESCRIPTION='TurrisOS 5.1.3 78c4c04dd7979a7f6d3cadeb1783b6c38d63b575'
DISTRIB_TAINTS='busybox'
root@turris:~# cat /etc/turris-version
5.1.4
We haven't noticed until now as we released Turris OS 5.1.4 into RC fast since we released Turris OS 5.1.3.