I’m having multiple issues with TurrisOS 7.0.0, which makes it not ready yet for my purposes, hence I’d like to go back to using 6.5.2.
I downloaded the 6.5.2 medkit from https://repo.turris.cz/archive/6.5.2/medkit/mox-medkit-202402150155.tar.gz and flashed it to the sdcard.
I then modified all the lines in /etc/opkg/distfeeds.conf
from:
https://repo.turris.cz/hbs/mox/packages/
to
https://repo.turris.cz/archive/6.5.2/mox/packages/
however that affects only opkg
. That means that opkg update
and opkg install
correctly use the archive repository, but turris updater still insists on using the latest 7.0.0 TurrisOS repositories.
There is no current documentation on how to make turris updater use a specific version of the repositories.
I can only find old documentation at Downgrading packages [Turris wiki] but it does not work in TurrisOS 6.5.2 anymore, I tried.
Without documentation, I tried experimenting with editing /etc/updater/conf.d/turris.lua
, which unfortunately says at the top This file is part of updater-ng. Don't edit it.
and tried changing
local mode = uci_cnf("mode", "branch") -- should we follow branch or version?
local version = uci_cnf("version", nil) -- which version to follow
to
local mode = uci_cnf("mode", "version") -- should we follow branch or version?
local version = uci_cnf("version", "6.5.2") -- which version to follow
but that also did not work. reForis still insists on upgrading to 7.0.0 instead of using 6.5.2 archive as the latest.
What are the correct steps to pin 6.5.2 archive as the latest version of TurrisOS for the updater?