if features and features.provides and features.conflicts then -- Advanced dependencies guard if model and installed then if not model:match("^[Tt]urris$") or installed["turris-btrfs"] then Install("tos3to4", { priority = 40 }) Package("tos3to4", { replan = "finished" }) else WARN("Migration for Turris 1.x on internal storage is not available. Please use microSD card (https://wiki.turris.cz/doc/cs/howto/btrfs_migration)") end end end