Page MenuHomeVyOS Platform

Get rid of the custom boot type check in version.py
Closed, ResolvedPublic

Description

Right now, in python/vyos/version.py we have a custom check for boot type that uses the SquashFS file name (filesystem.squshafs or a version file like 1.3.7.squashfs.

But we already have a utility function for boot type checking: https://github.com/vyos/vyos-1x/blob/current/python/vyos/system/image.py#L251 and we could use it there.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)