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

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

HollyGurza moved this task from Open to Finished on the VyOS 1.5 Circinus board.