poky/bitbake/lib/bb
Richard Purdie 02ad2ab205 bitbake: utils: Allow to_boolean to support int values
Some variables may be set as:

X = 1

as well the more usual

X = "1"

so add support to to_boolean to handle this case.

(Bitbake rev: e7df13a61911b7431802af2b4d7472b2aaf346fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 15:05:30 +00:00
..
asyncrpc bitbake: asyncrpc/client: Fix unix domain socket chdir race issues 2022-10-11 21:57:28 +01:00
compress bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
fetch2 bitbake: fetch2/git: show SRCREV and git repo in error message about fixed SRCREV 2023-02-23 22:23:07 +00:00
parse bitbake: ConfHandler/BBHandler: Improve comment error messages and add tests 2022-09-16 17:53:22 +01:00
pysh bitbake: pyshyacc: allow double COMMA statements 2020-07-12 11:53:00 +01:00
server bitbake: server/process: Fix logging issues where only the first message was displayed 2022-06-26 22:55:39 +01:00
tests bitbake: tests/fetch: Allow handling of a file:// url within a submodule 2022-10-27 16:39:20 +01:00
ui bitbake: buildinfohelper: Drop unused variables 2022-05-12 13:41:42 +01:00
__init__.py bitbake: bitbake: Bump to version 2.0.0 2022-03-15 17:51:14 +00:00
build.py bitbake: build: Add clean_stamp API function to allow removal of task stamps 2022-05-25 18:00:44 +01:00
cache_extra.py bitbake: bitbake: Strip old editor directives from file headers 2019-05-04 10:44:10 +01:00
cache.py bitbake: cache: correctly handle file names containing colons 2022-05-12 13:41:42 +01:00
checksum.py bitbake: checksum: Allow spaces in URI filenames 2022-04-14 09:48:33 +01:00
codeparser.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
command.py bitbake: cooker/command: Add a dummy event for tinfoil testing 2021-09-26 16:35:00 +01:00
cooker.py bitbake: cooker: Drop sre_constants usage 2022-09-16 17:53:22 +01:00
cookerdata.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
COW.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
daemonize.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
data_smart.py bitbake: data_smart: Avoid multiple getVarFlag calls 2022-03-18 13:17:10 +00:00
data.py bitbake: data: Do not depend on vardepvalueexclude flag 2022-05-25 18:00:44 +01:00
event.py bitbake: event.py: ignore exceptions from stdout and sterr operations in atexit 2022-09-16 17:53:22 +01:00
exceptions.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
main.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
methodpool.py bitbake: bitbake: Strip old editor directives from file headers 2019-05-04 10:44:10 +01:00
monitordisk.py bitbake: monitordisk.py: Deleted redundant word in warning message. 2022-03-08 09:45:57 +00:00
msg.py bitbake: msg: Drop unused local variable 2022-05-12 13:41:42 +01:00
namedtuple_with_abc.py bitbake: lib: fix most undefined code picked up by pylint 2020-08-25 18:14:53 +01:00
persist_data.py bitbake: persist_data: Use a valid exception for missing implementation 2022-05-12 13:41:42 +01:00
process.py bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
progress.py bitbake: progress: Fix typo "wherever" 2022-02-20 16:45:25 +00:00
providers.py bitbake: providers: use local variable for packages_dynamic pattern 2022-05-12 13:41:42 +01:00
remotedata.py bitbake: tinfoil: Simplify remote datastore connections 2020-03-24 22:01:03 +00:00
runqueue.py bitbake: runqueue: Fix race issues around hash equivalence and sstate reuse 2022-11-24 15:25:19 +00:00
siggen.py bitbake: bitbake-diffsigs: break on first dependent task difference 2023-02-17 15:05:08 +00:00
taskdata.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
tinfoil.py bitbake: tinfoil: Allow run_command not to wait on events 2022-03-26 09:27:43 +00:00
utils.py bitbake: utils: Allow to_boolean to support int values 2023-03-14 15:05:30 +00:00