diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-15 10:08:36 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-17 09:18:19 -0300 |
| commit | 6d97362cb1d8e88d7f8810cc2959b294ec8bdb8a (patch) | |
| tree | fbed268e6b7538ee1e115f45b55110fce2eb297b /dynamic-layers | |
| parent | 5da7f122bb22387e44f613aed7321cad1c52d926 (diff) | |
| download | meta-freescale-6d97362cb1d8e88d7f8810cc2959b294ec8bdb8a.tar.gz | |
fsl-eula-unpack: Fix do_fetch prepend prefix and document findings per oelint
Address the oelint-adv findings for this class:
- Add the missing 'python' prefix to do_fetch:prepend (task.pythonprefix).
do_fetch is a python task and the prepend body is python (it calls
d.getVar and bb.fatal), but the 'python' keyword was lost when the
_prepend -> :prepend override-syntax conversion rewrote the header, so
the LICENSE validation was an ill-formed shell fragment. Restoring the
prefix makes it a proper python fragment again. Not build-tested here;
the check passes for every Proprietary-licensed EULA recipe and only
errors on misuse, so it is safe.
- Suppress var.licenseremotefile on LIC_FILES_CHKSUM:append: the EULA
text is shipped by the layer (FSL_EULA_FILE), not the recipe source
tree, so the reference intentionally points outside the sources.
- Set a task[doc] docstring on the fsl_bin_do_unpack helper
(task.docstrings).
bbclass.underscores on the class filename is handled by the layer-wide
suppression.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'dynamic-layers')
0 files changed, 0 insertions, 0 deletions
