poky/meta/lib/oe
Ross Burton 18319c08ad lib/oe/go: document map_arch, and raise an error on unknown architecture
Add a comment explaining what this function does and where the values
come from.

If the architecture isn't know, instead of returning an empty string
which could fail mysteriously, raise a KeyError so it fails quickly.

(From OE-Core rev: 025414c16319b068df1cd757ad9a3c987a6b871d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
..
package_manager rpm: replace use of rpm2cpio with rpm2archive 2024-12-12 13:22:08 +00:00
__init__.py riscv tunes: ISA Implementation of RISC-V tune features 2025-06-20 09:52:28 +01:00
bootfiles.py wic: Update after plugin name changes 2025-06-16 17:57:30 +01:00
buildcfg.py buildcfg: get_metadata_git_*: catch also bb.process.NotFoundError 2025-04-24 11:27:06 +01:00
buildhistory_analysis.py sstatesig/find_siginfo: unify a disjointed API 2024-01-05 11:59:08 +00:00
buildstats.py buildstats.py: Add tracking of network I/O per interface 2025-04-24 11:27:06 +01:00
cachedpath.py insane: Don't used cachedpath for os.lstat() 2024-10-14 21:42:17 +01:00
classextend.py classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) 2025-01-21 23:09:33 +00:00
classutils.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
copy_buildsystem.py sstatesig/populate_sdk_ext: Improve unihash cache handling 2024-06-04 12:04:52 +01:00
cve_check.py cve-check: extract extending CVE_STATUS to library function 2025-04-24 11:27:06 +01:00
data.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
distro_check.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
elf.py lib/oe/elf.py: Add loongarch64 architecture definition for musl 2025-03-07 11:13:24 +00:00
fitimage.py kernel-fit-image.bbclass: add a new FIT image implementation 2025-06-05 11:02:21 +01:00
go.py lib/oe/go: document map_arch, and raise an error on unknown architecture 2025-06-23 21:42:54 +01:00
gpg_sign.py lib/oe/gpg_sign.py: Avoid race when creating .sig files in detach_sign 2023-03-31 23:30:36 +01:00
license_finder.py oe/license_finder: support extra hashes being passed to find_licenses 2025-06-16 17:57:30 +01:00
license.py lib: oe: license: Add missing import 2024-11-28 00:07:30 +00:00
lsb.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
maketype.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
manifest.py lib/oe: remove redundant __name__ == "__main__" checks 2025-04-03 11:06:20 +01:00
npm_registry.py meta: lib: oe: npm_registry: Add more safe caracters 2023-06-13 22:10:32 +01:00
overlayfs.py overlayfs: Allow not used mount points 2022-10-26 12:28:37 +01:00
package.py lib/oe: Move vardepexclude entries alongside functions 2025-06-16 17:57:29 +01:00
packagedata.py lib/oe: Move vardepexclude entries alongside functions 2025-06-16 17:57:29 +01:00
packagegroup.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
patch.py patch.py: set commituser and commitemail for addNote 2025-04-03 11:06:20 +01:00
path.py lib/oe: Move vardepexclude entries alongside functions 2025-06-16 17:57:29 +01:00
prservice.py lib/prservice: Improve lock handling robustness 2023-12-24 10:39:07 +00:00
qa.py insane: Drop oe.qa.add_message usage 2024-08-29 21:58:19 +01:00
qemu.py lib/classes/conf: refactor qemu.bbclass functions into library functions 2025-05-01 14:22:54 +01:00
recipeutils.py meta/lib/oe/recipeutils.py: handle fetcher errors when checking for new commits 2025-03-19 09:48:14 +00:00
reproducible.py meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX 2025-06-20 12:07:26 +01:00
rootfs.py rootfs.py: Don't create modules directory for all kernels 2025-05-27 09:01:17 +01:00
rootfspostcommands.py meta/lib: move buildstats.py and rootfspostcommands.py into oe 2024-12-05 17:07:10 +00:00
rust.py rust-target-config.bbclass: Update for new riscv TUNE_FEATURES 2025-06-20 09:52:28 +01:00
sbom.py create-spdx/sbom: Ensure files don't overlap between machines 2023-09-22 07:45:17 +01:00
sbom30.py lib: sbom30: Add action statement for affected VEX statements 2025-03-06 16:33:20 +00:00
sdk.py oe/sdk: fix empty SDK manifests 2025-05-12 22:01:55 +01:00
spdx_common.py spdx: add option to include only compiled sources 2025-06-17 23:38:18 +01:00
spdx.py classes/create-spdx-2.2: Report downloads as separate packages 2023-02-19 07:47:53 +00:00
spdx30_tasks.py spdx: add option to include only compiled sources 2025-06-17 23:38:18 +01:00
spdx30.py lib: spdx: Upgrade to final 3.0.1 release 2025-01-20 13:38:59 +00:00
sstatesig.py lib/oe: Move vardepexclude entries alongside functions 2025-06-16 17:57:29 +01:00
terminal.py lib/terminal.py: Add urxvt terminal 2023-05-25 10:29:09 +01:00
tune.py riscv tunes: ISA Implementation of RISC-V tune features 2025-06-20 09:52:28 +01:00
types.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
useradd.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
utils.py lib/oe: Move vardepexclude entries alongside functions 2025-06-16 17:57:29 +01:00