diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-02-17 17:09:35 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:37:26 +0000 |
commit | f7fccbe289c216b5bee7336d433589192f9cb6b0 (patch) | |
tree | 845110860b9730205a3af1a2722aa55a08ed841b /bitbake/lib/toaster | |
parent | 4f77505d94a8f6260933f457e9848d1d2fa98ce5 (diff) | |
download | poky-f7fccbe289c216b5bee7336d433589192f9cb6b0.tar.gz |
bitbake: bitbake: Replace remaining "abort" usage
In line with the inclusive language migration defined at:
https://wiki.yoctoproject.org/wiki/Inclusive_language
replace the remaining usage of "abort" in documentation, error
messages, and comments with halt/fail/exit as appropriate.
A couple of external Javascript API calls in Toaster remain, as
they cannot currently be changed.
(Bitbake rev: bc27762bf3ffb4a20b58eace5302438c4a526626)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 75674ccbf1..577e765f11 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -200,7 +200,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
200 | localdirpath = os.path.join(localdirname, dirpath) | 200 | localdirpath = os.path.join(localdirname, dirpath) |
201 | logger.debug("localhostbecontroller: localdirpath expects '%s'" % localdirpath) | 201 | logger.debug("localhostbecontroller: localdirpath expects '%s'" % localdirpath) |
202 | if not os.path.exists(localdirpath): | 202 | if not os.path.exists(localdirpath): |
203 | raise BuildSetupException("Cannot find layer git path '%s' in checked out repository '%s:%s'. Aborting." % (localdirpath, giturl, commit)) | 203 | raise BuildSetupException("Cannot find layer git path '%s' in checked out repository '%s:%s'. Exiting." % (localdirpath, giturl, commit)) |
204 | 204 | ||
205 | if name != "bitbake": | 205 | if name != "bitbake": |
206 | layerlist.append("%03d:%s" % (index,localdirpath.rstrip("/"))) | 206 | layerlist.append("%03d:%s" % (index,localdirpath.rstrip("/"))) |
@@ -467,7 +467,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
467 | logger.debug("localhostbecontroller: waiting for bblock content to appear") | 467 | logger.debug("localhostbecontroller: waiting for bblock content to appear") |
468 | time.sleep(1) | 468 | time.sleep(1) |
469 | else: | 469 | else: |
470 | raise BuildSetupException("Cannot find bitbake server lock file '%s'. Aborting." % bblock) | 470 | raise BuildSetupException("Cannot find bitbake server lock file '%s'. Exiting." % bblock) |
471 | 471 | ||
472 | with open(bblock) as fplock: | 472 | with open(bblock) as fplock: |
473 | for line in fplock: | 473 | for line in fplock: |