default createrepo_checksum to sha256

Signed-off-by: Qixiang Wan <qwan@redhat.com>
This commit is contained in:
Qixiang Wan 2017-03-11 11:14:37 -06:00
parent a1214525f5
commit ee21663c8b
2 changed files with 6 additions and 4 deletions

View File

@ -358,8 +358,9 @@ Createrepo Settings
Options Options
------- -------
**createrepo_checksum** [mandatory] **createrepo_checksum**
(*str*) -- specify checksum type for createrepo; expected values: sha256, sha (*str*) -- specify checksum type for createrepo; expected values: sha256, sha.
Defaults to sha256.
**createrepo_c** = True **createrepo_c** = True
(*bool*) -- use createrepo_c (True) or legacy createrepo (False) (*bool*) -- use createrepo_c (True) or legacy createrepo (False)
@ -387,7 +388,7 @@ Example
------- -------
:: ::
createrepo_checksum = "sha256" createrepo_checksum = "sha"
Package Set Settings Package Set Settings

View File

@ -517,6 +517,7 @@ def _make_schema():
}, },
"createrepo_checksum": { "createrepo_checksum": {
"type": "string", "type": "string",
"default": "sha256",
"enum": ["sha", "sha256"], "enum": ["sha", "sha256"],
}, },
"createrepo_use_xz": { "createrepo_use_xz": {
@ -965,7 +966,7 @@ def _make_schema():
"required": ["release_name", "release_short", "release_version", "required": ["release_name", "release_short", "release_version",
"release_is_layered", "release_is_layered",
"variants_file", "sigkeys", "createrepo_checksum", "variants_file", "sigkeys",
"runroot", "pkgset_source", "runroot", "pkgset_source",
"gather_source", "gather_method"], "gather_source", "gather_method"],
"additionalProperties": False, "additionalProperties": False,