diff options
| author | Andreas Zdziarstek <andreas.zdziarstek@gmail.com> | 2026-06-14 22:05:24 +0200 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-14 23:13:34 -0700 |
| commit | 436ddf7860c787d6ed7ea049a7d595f1f1b51c3b (patch) | |
| tree | 2d18da770f26c38a8ccedbf4908c9504793b4a66 /meta-python/recipes-devtools/python | |
| parent | 19a6074451ea6b27b9fdd98b83efc0b524c7d9b2 (diff) | |
| download | meta-openembedded-436ddf7860c787d6ed7ea049a7d595f1f1b51c3b.tar.gz | |
image_types_verity.bbclass: add FEC support
dm-verity can use Reed-Solomon forward error correction (FEC) data
to transparently recover a limited number of corrupted blocks instead
of only detecting them. This can be useful for mitigating error-prone
storage.
We generate this FEC data as an option, controlled by VERITY_FEC
(default off, same behavior as before) and VERITY_FEC_ROOTS (number of
Reed-Solomon roots, default 2). The FEC data is appended to the hash
tree by default. If VERITY_IMAGE_FECDEV_SUFFIX is set, a separate file
with the given suffix will be used.
When enabled, the parameter file gains additional variables necessary
for correct DM table generation.
Recipes that do not set VERITY_FEC = "1" behave the same as before.
Signed-off-by: Andreas Zdziarstek <andreas.zdziarstek@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions
