]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
chrpath.bbclass: fix Darwin support
authorEtienne Cordonnier <ecordonnier@snap.com>
Fri, 12 Jan 2024 15:33:08 +0000 (16:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Jan 2024 21:42:05 +0000 (21:42 +0000)
commit0abaa7bf7f7d9a5ac96e6fdbe99334cb2fb0e4db
tree6971884d9b072721226dbc4e78032ad5bbcc1511
parent248ca79a6400e063c4965f9542c614bf837ff758
chrpath.bbclass: fix Darwin support

Ported from the meta-darwin layer:
The call to out.split("\n") expects a string, thus the parameter text=True is
needed (otherwise Popen returns a bytes object).

Note that "text" is just a more readable alias for universal_newlines.

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/chrpath.bbclass