summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2024-01-12 16:20:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-15 21:42:15 +0000
commit5031cf42ffb221b52e527d8afc54138c1fb161a1 (patch)
treef712a56291de8cd7f120fed7d705964f4bc37934 /meta/lib/oe/rootfs.py
parentfc2d534e38a75a99396e63bf374f92167d6331dc (diff)
downloadpoky-5031cf42ffb221b52e527d8afc54138c1fb161a1.tar.gz
package.py: fix Darwin support
- 'subprocess.Popen([d.expand("${HOST_PREFIX}otool)' requires text-mode (a more readable alias for the universal_newlines parameter), since otool produces text and the code 'out.split("\n")' expects a string, not a bytes object. otool is used on MacOS only, so this error isn't triggered on Linux. - use 'startswith("darwin")' in order to support all darwin versions and not just specific versions (meta-darwin supports darwin21 at the moment). (From OE-Core rev: 248ca79a6400e063c4965f9542c614bf837ff758) 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>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
0 files changed, 0 insertions, 0 deletions