This commit replaces the use of "sanity" with more inclusive
naming.
When `sanity` is used in a more general sense either `validity`
or `quick` is used.
Consider factory-reset mode when sealing and resealing keys. Allow factory-reset
mode only for tested recovery systems.
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
One last fix for tests failing on non amd64:
----------------------------------------------------------------------
FAIL: makebootable_test.go:791: makeBootable20Suite.TestMakeRunnableSystem20RunModeSealKeyErr
makebootable_test.go:893:
c.Assert(err, IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot copy trusted asset to cache: read /tmp/check-855608922/49/run/mnt/ubuntu-seed: is a directory"} ("cannot copy trusted asset to cache: read /tmp/check-855608922/49/run/mnt/ubuntu-seed: is a directory")
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Merge pull request #11374 from anonymouse64/feature/uc20-multi-volume-gadget-asset-updates-26
This file will be necessary later on when we perform multi-volume gadget asset
updates.
This will be necessary later on when we perform multi-volume gadget asset
updates.
Also adjust install mode unit tests for install.Run() to check this file too.
Also test for the disk-mapping.json in some spread tests too.
This is a purely mechanical change because it touches so many files, the real
interesting parts we need that prompted this will be followups.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>