lists/migrate3x: Add provides and virtuals to pass migration
We have problem of chicken and egg. To know if we can update we need to update updater but doing so we have to start updating system. The problem is that reverting to 3.x with new updater would be pretty hacky and is also not something we want. The common problem is that users install some packages with opkg and those are added to updater's /etc/updater/conf.d/opkg-auto.lua file. Updater is stuck when such package is no longer provided. Modifying given file is not ideal because user can have other files that are not automatically managed and running replacement scripts on them is not good idea. Instead it is better to ensure that update proceeds even if there is a request for package that is no longer in repository. This commit adds two types of rules for packages that are not in Turris OS 4.0 compared to Turris OS 3.x. Fist rule is to convince updater that package exists but is effectively empty. That is done by marking package as virtual: ...
parent
0bcfd4c7
Branches
Tags
Please register or sign in to comment