kickstart: Drop ostree signature verification flag

It's a no-op nowadays, we dropped support for the custom
ostree-container signature verification status.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2024-12-18 08:13:51 -05:00 committed by Brian C. Lane
parent 08d0b657ee
commit fcb93bde01
3 changed files with 3 additions and 6 deletions

View file

@ -201,10 +201,6 @@ def main(tree, options): # pylint: disable=too-many-branches
if value:
cmd += f" --{name}={value}"
signature_verification = ostreecontainer.get("signatureverification", True)
if not signature_verification:
cmd += " --no-signature-verification"
config += [cmd]
liveimg = options.get("liveimg")

View file

@ -197,7 +197,8 @@
},
"signatureverification": {
"type": "boolean",
"default": true
"default": true,
"description": "This field is deprecated and does nothing."
}
}
},

View file

@ -224,7 +224,7 @@ TEST_INPUT = [
"signatureverification": False,
},
},
"ostreecontainer --url=http://some-ostree-url.com/foo --stateroot=some-osname --transport=registry --remote=some-remote --no-signature-verification",
"ostreecontainer --url=http://some-ostree-url.com/foo --stateroot=some-osname --transport=registry --remote=some-remote",
),
(
{