poky/bitbake/lib/bb/parse
Robert Yang 2c15d8000d bitbake: bitbake: ConfHandler: Don't strip leading spaces
Fixed:
- Add the following lines to conf/local.conf:
  FOO = "BAR1"
  FOO_append = "\
      BAR2"

  $ bitbake -e | grep '^FOO'
  FOO="BAR1BAR2"

  The leading spaces in the second line have been removed.

- But if add the previous two lines to base.bbclass:
  $ bitbake -e | grep '^FOO'
  FOO="BAR1    BAR2"

  The leading spaces in the second line are preserved, this is inconsistent, now
  fix ConfHandler to preserve leading spaces.

[YOCTO #12380]

(Bitbake rev: 8c3bc15a7b5e0a81d7b6c9d3fe43fbff63207156)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-06 08:24:50 +00:00
..
parse_py bitbake: bitbake: ConfHandler: Don't strip leading spaces 2019-02-06 08:24:50 +00:00
__init__.py bitbake: bitbake: parse: fixes for resolve_file() 2018-02-14 15:26:03 +00:00
ast.py bitbake: parse/ast: fix line number for anonymous function 2018-11-19 17:03:25 +00:00