Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
turris-build
turris-build
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Turris
  • turris-buildturris-build
  • Issues
  • #205

Closed
Open
Opened Nov 12, 2020 by Josef Schlehofer@jschlehoferMaintainer

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.

Assignee
Assign to
Turris OS 6.0
Milestone
Turris OS 6.0
Assign milestone
Time tracking
None
Due date
None
Reference: turris/turris-build#205