Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handlers: ubivol: fix missing device strlen check
Commit "5604c225 handlers: ubivol: Allow specifying MTD device" breaks UBI A/B volume updates with an atomic swap at the end of the update because 1 strlen check is missing in ubi_volume_get_info. This fixes the following error: [ERROR] : SWUPDATE failed [0] ERROR : does not exist [ERROR] : SWUPDATE failed [0] ERROR : could not found UBI volume root_r [ERROR] : SWUPDATE failed [0] ERROR : execute postinstall scripts failed [ERROR] : SWUPDATE failed [1] Installation failed ! Signed-off-by: Sam Van Den Berge <[email protected]> Reviewed-by: Dominique Martinet <[email protected]>
- Loading branch information