mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
docs: add fragment exclusion tag
Document how to use the !arch tag added by #1042 Fixes: #1010 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
parent
1c6aae1e15
commit
b4a51d8939
@ -55,6 +55,12 @@ into a fragment.
|
|||||||
If adding config entries for a new subsystem or feature, consider making a new
|
If adding config entries for a new subsystem or feature, consider making a new
|
||||||
fragment with an appropriately descriptive name.
|
fragment with an appropriately descriptive name.
|
||||||
|
|
||||||
|
If you want to disable an entire fragment for a specific architecture, you can add the tag `# !${arch}` in the first line of the fragment. You can also exclude multiple architectures on the same line. Note the `#` at the beginning of the line, this is required to avoid that the tag is interpreted as a configuration.
|
||||||
|
Example of valid exclusion:
|
||||||
|
```
|
||||||
|
# !s390x !ppc64le
|
||||||
|
```
|
||||||
|
|
||||||
The fragment gathering tool perfoms some basic sanity checks, and the `build-kernel.sh` will
|
The fragment gathering tool perfoms some basic sanity checks, and the `build-kernel.sh` will
|
||||||
fail and report the error in the cases of:
|
fail and report the error in the cases of:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user