Skip to content
Snippets Groups Projects
Verified Commit 34994f70 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

lists: migrate3x: add tos3to4 to migration

parent fd457764
Branches
Tags
1 merge request!123Turris OS 5.0 (HBK)
......@@ -29,15 +29,31 @@ if not version_match or not self_version or version_match(self_version, "<63.0")
Package('updater-ng', {
replan = 'immediate',
deps = { 'libgcc' }
deps = { 'libgcc', 'tos3to4-early' }
})
--[[
Updater package does not depend on libgcc but it requires it and dependency
breaks otherwise.
We added additional dependency in form of package tos3to4-early which contains
script to migrate updater configuration. That means that when new updater is
being installed the configuration is also migrated at the same time.
]]
end
-- We are potentially migrating from uClibc so reinstall everything depending
-- on it.
--Package("libc", { abi_change_deep = true })
--[[
This same package as in Turris OS 3.x which contains script pulling in this
script. The difference is that Turris OS 4.x contains version 2.x of this package
to ensure update and that it does not contain noted script. Instead it contains
script migrating system configuration. That way configuration is updated and at
the same time this script is left out of all following updater executions because
tos3to4 is going to be removed.
]]
Install("tos3to4")
Package("tos3to4", { replan = "later" })
--[[
We are potentially migrating from uClibc so reinstall everything depending on it.
]]
Package("libc", { abi_change_deep = true })
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment