poky/meta/classes
Ulf Magnusson d11b51dfad systemd-boot.bbclass: Use bb.fatal() instead of raising FuncFailed
This sets a good example and avoids unnecessarily contributing to
perceived complexity and cargo culting.

Motivating quote below:

< kergoth> the *original* intent was for the function/task to error via
           whatever appropriate means, bb.fatal, whatever, and
           funcfailed was what you'd catch if you were calling
           exec_func/exec_task. that is, it's what those functions
           raise, not what metadata functions should be raising
< kergoth> it didn't end up being used that way
< kergoth> but there's really never a reason to raise it yourself

FuncFailed.__init__ takes a 'name' argument rather than a 'msg'
argument, which also shows that the original purpose got lost.

(From OE-Core rev: c61d7a01c89f0d25d069191cc47d6768bee2ce48)

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:04 +01:00
..
allarch.bbclass allarch: Fixes to stop rebuilds when change multilibs 2016-10-01 21:45:57 +01:00
archiver.bbclass archive.bbclass: fix do_ar_original archiving of multiple source repos 2016-09-28 10:16:03 +01:00
autotools-brokensep.bbclass
autotools.bbclass autotools.bbclass: use python3 instead of python (v2) 2016-09-28 10:16:02 +01:00
base.bbclass base.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
bash-completion.bbclass bash-completion: add bash-completion to DEPENDS for target packages 2016-08-25 23:03:45 +01:00
bin_package.bbclass
binconfig-disabled.bbclass
binconfig.bbclass
blacklist.bbclass
bluetooth.bbclass
bugzilla.bbclass
buildhistory.bbclass buildhistory: output package variables in a repeatable order 2016-08-10 10:46:32 +01:00
buildstats-summary.bbclass buildstats-summary: round the floating point percentage 2016-07-12 23:10:16 +01:00
buildstats.bbclass subprocess: remove Popen in favor of check_output 2016-10-01 21:45:56 +01:00
ccache.bbclass ccache.bbclass: don't remove CCACHE_DIR as part of do_clean 2016-08-17 10:35:40 +01:00
chrpath.bbclass chrpath: correct subprocess.Popen.communicate() return values 2016-08-10 10:46:33 +01:00
clutter.bbclass
cmake.bbclass cmake.bbclass: avoid treating imports as system includes 2016-09-08 00:32:43 +01:00
cml1.bbclass cml1: fix tasks after default [dirs] changed 2016-08-04 15:22:22 +01:00
compress_doc.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
copyleft_compliance.bbclass
copyleft_filter.bbclass
core-image.bbclass Drop unneeded LIC_FILES_CHKSUM values 2016-05-11 10:33:43 +01:00
cpan_build.bbclass perl: Remove errornous extra path-specs for Module::Build based modules 2015-10-29 07:31:17 +00:00
cpan-base.bbclass meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
cpan.bbclass perl: fix Perl5 module builds 2015-10-29 07:31:17 +00:00
cross-canadian.bbclass cross-canadian/libgcc-common: Fixes for arm multilib 2016-09-30 16:51:15 +01:00
cross.bbclass classes/cross: set lt_cv_sys_lib_dlsearch_path_spec 2016-10-04 16:29:04 +01:00
crosssdk.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
cve-check.bbclass cve-check.bbclass: Add class 2016-09-16 15:24:02 +01:00
debian.bbclass debian: Fix superfluous setting for RPROVIDES 2016-02-14 11:42:19 +00:00
deploy.bbclass deploy: Mark deploy tasks as MACHINE specific 2015-10-01 07:43:36 +01:00
devshell.bbclass devpyshell: python3: flush stdout explicitly 2016-07-08 09:57:23 +01:00
distro_features_check.bbclass
distrodata.bbclass package_regex.inc: remove deprecated file 2016-05-19 22:32:07 +01:00
distutils-base.bbclass
distutils-common-base.bbclass distutils-common-base.bbclass: remove EXTRA_OEMAKE workaround 2016-09-03 09:58:40 +01:00
distutils-tools.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils3-base.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
distutils3.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
externalsrc.bbclass externalsrc.bbclass: Make reparsing work for BBCLASSEXTENDed recipes 2016-09-20 15:11:08 +01:00
extrausers.bbclass extrausers.bbclass: drop retry count for perform_user/group* calls 2016-04-09 23:00:45 +01:00
fontcache.bbclass fontcache: allow to pass extra parameters and environment to fc-cache 2015-10-01 17:54:55 +01:00
fs-uuid.bbclass
gconf.bbclass
gettext.bbclass
gio-module-cache.bbclass gio-module-cache: Add class for Gio modules 2016-03-28 15:55:49 +01:00
gnome.bbclass
gnomebase.bbclass gnomebase.bbclass: do not disable gobject introspection 2016-03-12 22:11:45 +00:00
gobject-introspection-data.bbclass classes/gobject-introspecton-data: lazy assign GI_DATA_ENABLED 2016-09-14 22:22:08 +01:00
gobject-introspection.bbclass pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, STAGING_LIBDIR, PYTHON variables 2016-07-01 16:22:42 +01:00
grub-efi.bbclass grub-efi.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
gsettings.bbclass
gtk-doc.bbclass classes/gtk-doc: lazy assign GTKDOC_ENABLED 2016-09-14 22:22:08 +01:00
gtk-icon-cache.bbclass gtk-icon-cache: pass the native libdir to the intercept 2015-10-29 07:31:16 +00:00
gtk-immodules-cache.bbclass gtk-immodules-cache: Support both GTKs at same time 2016-06-12 23:47:18 +01:00
gummiboot.bbclass meta/classes: fix bb.build.FuncFailed typos 2016-08-10 10:46:28 +01:00
gzipnative.bbclass
icecc.bbclass icecc.bbclass: replace icc with icecc 2016-03-28 15:55:48 +01:00
image_types_uboot.bbclass image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
image_types.bbclass image_types.bbclass: remove redundant dependency 2016-09-28 10:16:04 +01:00
image-buildinfo.bbclass image-buildinfo: restore trailing newline 2016-10-01 21:45:55 +01:00
image-live.bbclass image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
image-mklibs.bbclass image-mklibs: handle position independent binaries 2016-03-10 23:13:54 +00:00
image-prelink.bbclass image-prelink: use STAGING_*_NATIVE variables 2016-03-09 16:58:12 +00:00
image-vm.bbclass image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
image.bbclass image.bbclass: add IMAGE_DEVICE_TABLE to rootfs[vardeps] 2016-09-15 12:15:07 +01:00
insane.bbclass sanity: make license QA failures fatal again 2016-09-16 15:24:02 +01:00
kernel-arch.bbclass Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH" 2016-02-04 23:39:02 +00:00
kernel-fitimage.bbclass kernel-fitimage: Add x86 support 2016-08-10 10:46:33 +01:00
kernel-grub.bbclass kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time 2016-05-30 15:58:11 +01:00
kernel-module-split.bbclass kernel-module-split.bbclass: no need for running depmod 2016-09-09 11:53:36 +01:00
kernel-uboot.bbclass
kernel-uimage.bbclass kernel-uimage.bbclass: indeed update var KERNEL_IMAGETYPE_FOR_MAKE 2016-07-26 08:56:30 +01:00
kernel-yocto.bbclass kernel-yocto: remove do_shared_workdir from SRCTREECOVEREDTASKS 2016-09-14 22:22:12 +01:00
kernel.bbclass kernel.bbclass: Add kernel_version_sanity_check function 2016-09-21 21:58:05 +01:00
kernelsrc.bbclass
lib_package.bbclass
libc-common.bbclass libc-common.bbclass: Use sed instead of grep 2016-05-13 13:41:30 +01:00
libc-package.bbclass glibc: Upgrade to latest tip of master 2016-07-12 23:10:13 +01:00
license.bbclass license.bbclass: do not process LICENSE_pn variables 2016-08-25 22:54:49 +01:00
linux-kernel-base.bbclass
linuxloader.bbclass linuxloader/image-prelink/image-mklibs: Fix non-standard path prelinking 2016-03-07 00:11:40 +00:00
live-vm-common.bbclass image-live.bbclass/image-vm.bbclass: remove duplicated code 2016-03-31 23:01:37 +01:00
logging.bbclass
meta.bbclass
metadata_scm.bbclass metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo 2016-05-11 10:33:42 +01:00
migrate_localcount.bbclass
mime.bbclass
mirrors.bbclass gnupg.org-hosted recipes: Change SRC_URI to https site 2016-05-30 15:58:13 +01:00
module-base.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
module.bbclass module.bbclass: use Module.symvers for dependants 2016-09-09 11:53:36 +01:00
multilib_global.bbclass Fix random python backtrace in mutlilib handling code. 2016-08-04 15:22:22 +01:00
multilib_header.bbclass multilib_header: avoid sstate checksum issues for -nativesdk recipes 2016-10-01 21:45:56 +01:00
multilib.bbclass base.bbclass: drop obsolete HOSTTOOLS_WHITELIST_GPL-3.0 2016-04-01 07:14:30 +01:00
native.bbclass classes/native: set lt_cv_sys_lib_dlsearch_path_spec 2016-10-04 16:29:04 +01:00
nativesdk.bbclass nativesdk: Don't enable MULTILIBS 2016-10-01 21:45:57 +01:00
nopackages.bbclass nopackages.bbclass: deltask foo_setscene 2016-05-30 15:58:11 +01:00
npm.bbclass recipetool: create: support node.js code outside of npm 2016-09-08 00:36:49 +01:00
oelint.bbclass classes/oeqa: Update for print statements and file() -> open() for python3 2016-05-16 09:31:23 +01:00
own-mirrors.bbclass mirrors/own-mirrors/sanity: Updates after npm fetcher addition 2016-02-28 11:32:57 +00:00
package_deb.bbclass package_deb.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
package_ipk.bbclass package_ipk.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
package_rpm.bbclass package_rpm.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
package_tar.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
package.bbclass meta: cleanup d.getVar(var, 0) 2016-09-14 22:22:07 +01:00
packagedata.bbclass
packagefeed-stability.bbclass packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir 2016-08-20 16:06:04 +01:00
packagegroup.bbclass Drop unneeded LIC_FILES_CHKSUM values 2016-05-11 10:33:43 +01:00
patch.bbclass lib/oe/patch: commit with a dummy user/email when PATCHTOOL=git 2016-09-03 23:45:52 +01:00
perlnative.bbclass
pixbufcache.bbclass gtk-icon-cache/pixbufcache: don't set GDK_PIXBUF_MODULEDIR 2015-09-28 12:00:17 +01:00
pkgconfig.bbclass
populate_sdk_base.bbclass populate_sdk_base.bbclass: fix broken variables 2016-09-28 10:16:04 +01:00
populate_sdk_ext.bbclass classes/populate_sdk_ext: ensure we clean the right temporary TMPDIR path 2016-09-14 22:22:12 +01:00
populate_sdk.bbclass
prexport.bbclass prexport.bbclass: avoid export for native and crosssdk 2015-11-16 11:39:27 +00:00
primport.bbclass
ptest-gnome.bbclass ptest-gnome: extend EXTRA_OECONF in all builds, not just target 2015-11-24 15:50:25 +00:00
ptest.bbclass classes: Ensure pass setVar/setVarFlag strings, not integers 2015-11-24 15:50:26 +00:00
python-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3native.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
pythonnative.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
qemu.bbclass qemu.bbclass: Allow use different QEMU binary depending of target 2016-09-24 07:30:10 +01:00
qemuboot.bbclass qemuboot: don't fail when QB_DEFAULT_KERNEL isn't symlink 2016-09-30 16:51:15 +01:00
recipe_sanity.bbclass meta: cleanup d.getVar(var, 0) 2016-09-14 22:22:07 +01:00
relocatable.bbclass
remove-libtool.bbclass remove-libtool: add new class 2016-02-02 14:44:16 +00:00
report-error.bbclass report-error: Fix tracebacks 2016-08-17 10:23:43 +01:00
rm_work.bbclass rm_work: don't remove timestamps of image tasks 2016-08-23 17:44:41 +01:00
rootfs_deb.bbclass rootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude 2015-11-24 15:50:27 +00:00
rootfs_ipk.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
rootfs_rpm.bbclass Allow for simultaneous do_rootfs tasks with rpm 2016-08-12 15:25:22 +01:00
rootfs-postcommands.bbclass image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
rootfsdebugfiles.bbclass
sanity.bbclass sanity.bbclass: split out config re-parse check 2016-09-16 15:24:03 +01:00
scons.bbclass scons.bbclass: rework parameters for install task 2016-09-24 07:30:10 +01:00
setuptools.bbclass
setuptools3.bbclass
sign_ipk.bbclass gpg_sign: add local ipk package signing functionality 2016-03-11 16:50:45 +00:00
sign_package_feed.bbclass sign_package_feed: add feed signature type 2016-03-11 16:50:45 +00:00
sign_rpm.bbclass gpg_sign.py: get rid of pexpect 2016-03-25 10:29:14 +00:00
siteconfig.bbclass
siteinfo.bbclass autotools/siteinfo: Tweak CONFIG_SITE handling for determism/races 2016-09-22 11:13:24 +01:00
spdx.bbclass subprocess: remove Popen in favor of check_output 2016-10-01 21:45:56 +01:00
sstate.bbclass sstate: Add postrm command support 2016-09-16 15:24:02 +01:00
staging.bbclass staging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes 2016-06-15 08:35:01 +01:00
syslinux.bbclass syslinux.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
systemd-boot.bbclass systemd-boot.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
systemd.bbclass systemd.bbclass: Allow enabling of parameterised services 2015-12-09 08:48:24 +00:00
terminal.bbclass classes/lib: Convert to use python3 octal syntax 2016-06-02 08:24:00 +01:00
testexport.bbclass oeqa/oetest.py: Allow to export packages using symlinks 2016-08-04 15:22:22 +01:00
testimage-auto.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
testimage.bbclass testimage.bbclass: Add package manager dependency 2016-09-23 14:56:39 +01:00
testsdk.bbclass classes/populate_sdk_ext: eliminate double execution on install 2016-07-08 09:57:23 +01:00
texinfo.bbclass
tinderclient.bbclass classes/oeqa: Update for print statements and file() -> open() for python3 2016-05-16 09:31:23 +01:00
toaster.bbclass toaster: fire TaskArtifacts event 2016-09-04 00:07:29 +01:00
toolchain-scripts-base.bbclass toolchain-scripts-base: add base class for toolchain_create_sdk_version 2016-09-23 14:56:39 +01:00
toolchain-scripts.bbclass toolchain-scripts-base: add base class for toolchain_create_sdk_version 2016-09-23 14:56:39 +01:00
typecheck.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
uboot-config.bbclass u-boot: extend UBOOT_CONFIG format to support different binary name 2016-07-01 16:22:40 +01:00
uboot-sign.bbclass uboot-sign: do_concat_dtb(): cd to $B 2016-08-10 10:46:33 +01:00
uninative.bbclass uninative: Switch md5sum -> sha256 2016-03-31 09:15:03 +01:00
update-alternatives.bbclass update-alternatives: Fix determinism issue 2016-05-11 10:33:42 +01:00
update-rc.d.bbclass update-rc.d.bbclass: Disable class when sysvinit is not in DISTRO_FEATURES 2016-06-15 18:05:21 +01:00
upstream-version-is-even.bbclass package_regex.inc: split entries with odd-even versioning into their own recipes 2015-12-08 10:20:51 +00:00
useradd_base.bbclass useradd_base.bbclass: Do not mess with the gshadow file in the sysroot 2016-09-16 15:24:03 +01:00
useradd-staticids.bbclass useradd-staticids.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +01:00
useradd.bbclass useradd: do not delete users and groups during configure 2016-09-14 22:22:07 +01:00
utility-tasks.bbclass meta: Update to modern exception syntax 2016-05-21 22:26:33 +01:00
utils.bbclass utils: Add all_multilib_tune_list function 2016-09-28 10:16:03 +01:00
vala.bbclass vala.bbclass: remove pre-packaged vapigen.m4 from tarballs 2016-03-12 22:11:44 +00:00
waf.bbclass waf.bbclass: Remove --disable-static from EXTRA_OECONF 2016-02-19 15:33:02 +00:00