How to reproduce (Note that the printf does not add a newline at EOF) : printf 'OEQA_REPRODUCIBLE_TEST_TARGET = "bash"' >> conf/local.conf oe-selftest -r reproducible.ReproducibleTests This fails because the generated build-st/conf/local.conf used by the reproducible test ends with: OEQA_REPRODUCIBLE_TEST_TARGET = "bash"SSTATE_DIR ?= "/home/yocon/yocto/sstate-cache" #include added by oe-selftest include machine.inc include selftest.inc To fix this: "oe-selftest -r reproducible.ReproducibleTests" needs to add a newline before adding lines. But beware, we don't want too much of double spaced variables.
I suspect we should just ensure we always add entries with a newline at the end
The patch is merged in the master: https://git.openembedded.org/openembedded-core/commit/?id=d2fcd9e880126bc33be2ef14e678cc1aa72683c3