On this page, it says to use RESIN_SUPERVISOR_OVERRIDE_LOCK
:
However on this page it says to use RESIN_OVERRIDE_LOCK
:
Could you confirm which is correct to override the update locks? Or do we need both?
On this page, it says to use RESIN_SUPERVISOR_OVERRIDE_LOCK
:
However on this page it says to use RESIN_OVERRIDE_LOCK
:
Could you confirm which is correct to override the update locks? Or do we need both?
Hello,
Docs lead here. I had started a discussion on this internally but didn’t follow up on it. The answer is both config options are correct and don’t need to set both to enforce a lock override.
Pull requests are in place to eliminate this confusion. The recommended although to override locks should be either using the:
sdk.models.device.enableLockOverride|disableLockOverride(uuidOrId)
from the balenaSDKThere is no need to set configuration variables directly although if the need arises then this page is considered to be the source of truth for the configuration options: Configuration List for Raspberry Pi 3 - Balena Documentation