Skip to content

base-files: do_stage2: Create iopsys_{pre|post}_do_upgrade functions for config migration

Ghost User requested to merge ovil/pre-post_upgrade into devel

Instead of open-coding the migration logic in do_stage2, move the implementation to two functions in iopsys.sh. These functions should be considered as API and callable from the platform-specific platform_do_upgrade() function.

While at it, remove the iopsys_do_upgrade function, unused anywhere.

Merge request reports