Fix documentation for repo, package gpg settings

In contrast to the documentation, kiwi sets default values
for any gpg setting if not explicitly specified differently.
We want to avoid to inherit a behavior from how the distribution
packages the package manager. This commit fixes the documentation
to be in line with the implementation
This commit is contained in:
Marcus Schäfer 2024-12-20 12:57:29 +01:00
parent 7102f91cd1
commit 0109686c8f
No known key found for this signature in database
GPG Key ID: A16C1128698C8CAC
4 changed files with 33 additions and 25 deletions

View File

@ -58,13 +58,13 @@ following optional attributes:
not specified, {kiwi} generates an alias name using hex representation from
uuid4.
- `repository_gpgcheck`: Specifies whether the repository is
configured to perform repository signature validation. If not set, the
package manager's default is used.
- `repository_gpgcheck`: Specify whether or not this specific repository
values the result of the repository signature validation.
The default value is `false`.
- `package_gpgcheck`: Boolean value that specifies whether each package's
GPG signature is verified. If omitted, the package manager's default
is used.
- `package_gpgcheck`: Specify whether or not this specific repository
values the result of the package signature validation for each
package taken from this repository. The default value is `false`.
- `components`: Distribution components used for `deb` repositories. Default is `main`.

View File

@ -1413,13 +1413,19 @@ imageonly="true|false"
the value is set to false
repository_gpgcheck="true|false"
Specifies whether or not this specific repository is configured to
to run repository signature validation. If not set, no value is
appended into the repository configuration file. If set the
relevant key information needs to be provided on the {kiwi}
commandline using the `--signing-key` option or via the `<signing>`
element as part of the `<repository><source>` setting in the
image description.
Specifies whether or not this specific repository values the result
of the repository signature validation. If not set, the default is
`false`. If set the relevant key information needs to be provided
on the {kiwi} commandline using the `--signing-key` option or via
the `<signing>` element as part of the `<repository><source>`
setting in the image description.
package_gpgcheck="true|false"
Specify whether or not this specific repository values the result
of the package signature validation for each package taken from
this repository. If not set, the default value is false.
If set, the same key information requirements as for the
`repository_gpgcheck` attribute applies.
customize="/path/to/custom_script"
Custom script hook which is invoked with the repo file as parameter

View File

@ -1152,14 +1152,15 @@ div {
## or false, the default is false.
attribute imageonly { xsd:boolean }
k.repository.repository_gpgcheck.attribute =
## Specify whether or not this specific repository is configured to
## to run repository signature validation. If not set, no value is
## appended into the repository configuration file.
## Specify whether or not this specific repository values
## the result of the repository signature validation.
## The default value is false.
attribute repository_gpgcheck { xsd:boolean }
k.repository.package_gpgcheck.attribute =
## Specify whether or not this specific repository is configured
## to run package signature validation. If not set, no value is
## appended into the repository configuration file.
## Specify whether or not this specific repository
## values the result of the package signature validation
## for each package taken from this repository. The default
## value is false.
attribute package_gpgcheck { xsd:boolean }
k.repository.customize.attribute =
## Specify the path to a customization script.

View File

@ -1775,17 +1775,18 @@ or false, the default is false.</a:documentation>
</define>
<define name="k.repository.repository_gpgcheck.attribute">
<attribute name="repository_gpgcheck">
<a:documentation>Specify whether or not this specific repository is configured to
to run repository signature validation. If not set, no value is
appended into the repository configuration file.</a:documentation>
<a:documentation>Specify whether or not this specific repository values
the result of the repository signature validation.
The default value is false.</a:documentation>
<data type="boolean"/>
</attribute>
</define>
<define name="k.repository.package_gpgcheck.attribute">
<attribute name="package_gpgcheck">
<a:documentation>Specify whether or not this specific repository is configured
to run package signature validation. If not set, no value is
appended into the repository configuration file.</a:documentation>
<a:documentation>Specify whether or not this specific repository
values the result of the package signature validation
for each package taken from this repository. The default
value is false.</a:documentation>
<data type="boolean"/>
</attribute>
</define>