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 | |
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>
-rwxr-xr-x | bitbake/bin/toaster | 4 | ||||
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/siggen.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bblayers/action.py | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 8711014cfe..558a819570 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -33,7 +33,7 @@ databaseCheck() | |||
33 | $MANAGE migrate --noinput || retval=1 | 33 | $MANAGE migrate --noinput || retval=1 |
34 | 34 | ||
35 | if [ $retval -eq 1 ]; then | 35 | if [ $retval -eq 1 ]; then |
36 | echo "Failed migrations, aborting system start" 1>&2 | 36 | echo "Failed migrations, halting system start" 1>&2 |
37 | return $retval | 37 | return $retval |
38 | fi | 38 | fi |
39 | # Make sure that checksettings can pick up any value for TEMPLATECONF | 39 | # Make sure that checksettings can pick up any value for TEMPLATECONF |
@@ -41,7 +41,7 @@ databaseCheck() | |||
41 | $MANAGE checksettings --traceback || retval=1 | 41 | $MANAGE checksettings --traceback || retval=1 |
42 | 42 | ||
43 | if [ $retval -eq 1 ]; then | 43 | if [ $retval -eq 1 ]; then |
44 | printf "\nError while checking settings; aborting\n" | 44 | printf "\nError while checking settings; exiting\n" |
45 | return $retval | 45 | return $retval |
46 | fi | 46 | fi |
47 | 47 | ||
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 315086a6ec..59a9de2fb8 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | |||
@@ -735,7 +735,7 @@ overview of their function and contents. | |||
735 | " | 735 | " |
736 | 736 | ||
737 | This next example shows an error message that occurs because invalid | 737 | This next example shows an error message that occurs because invalid |
738 | entries are found, which cause parsing to abort:: | 738 | entries are found, which cause parsing to fail:: |
739 | 739 | ||
740 | ERROR: BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not: | 740 | ERROR: BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not: |
741 | /work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend | 741 | /work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend |
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index d0988e0e40..ebba452592 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -584,7 +584,7 @@ class SignatureGeneratorUniHashMixIn(object): | |||
584 | if self.setscenetasks and tid not in self.setscenetasks: | 584 | if self.setscenetasks and tid not in self.setscenetasks: |
585 | return | 585 | return |
586 | 586 | ||
587 | # This can happen if locked sigs are in action. Detect and just abort | 587 | # This can happen if locked sigs are in action. Detect and just exit |
588 | if taskhash != self.taskhash[tid]: | 588 | if taskhash != self.taskhash[tid]: |
589 | return | 589 | return |
590 | 590 | ||
diff --git a/bitbake/lib/bblayers/action.py b/bitbake/lib/bblayers/action.py index f05f5d330f..6723e2c605 100644 --- a/bitbake/lib/bblayers/action.py +++ b/bitbake/lib/bblayers/action.py | |||
@@ -53,7 +53,7 @@ class ActionPlugin(LayerPlugin): | |||
53 | except (bb.tinfoil.TinfoilUIException, bb.BBHandledException): | 53 | except (bb.tinfoil.TinfoilUIException, bb.BBHandledException): |
54 | # Restore the back up copy of bblayers.conf | 54 | # Restore the back up copy of bblayers.conf |
55 | shutil.copy2(backup, bblayers_conf) | 55 | shutil.copy2(backup, bblayers_conf) |
56 | bb.fatal("Parse failure with the specified layer added, aborting.") | 56 | bb.fatal("Parse failure with the specified layer added, exiting.") |
57 | else: | 57 | else: |
58 | for item in notadded: | 58 | for item in notadded: |
59 | sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item) | 59 | sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item) |
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: |