Files
poky/meta/recipes-devtools
Oleksandr Hnatiuk 9205ac1d53 file: fix the way path is written to environment-setup.d
$OECORE_NATIVE_SYSROOT is not escaped, thus it is expanded to an empty string.
This happens to work because we have ${datadir} which in this context is
relocated to the buildtools sysroot after installation of buildtools.

If the $ before OECORE_NATIVE_SYSROOT is escaped, it will be saved to file.sh
as intended, but MAGIC will point to the wrong location because both
OECORE_NATIVE_SYSROOT and datadir resolve to sysroot which doubles the path
like so:
/path/to/buildtools/sysroots/x86_64-xesdk-linux/path/to/buildtools/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc
which does not exist. So, removing reference to OECORE_NATIVE_SYSROOT.

(From OE-Core rev: c6206249683876670602888e78ecaf719753a317)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-27 21:07:53 +01:00
..
2023-06-01 08:05:11 +01:00
2023-07-19 19:37:38 +01:00
2023-06-28 07:56:33 +01:00
2023-03-27 15:44:02 +01:00
2022-11-07 14:32:42 +00:00
2023-05-05 11:07:25 +01:00
2023-06-13 22:10:31 +01:00
2023-05-25 10:29:08 +01:00
2023-05-22 10:53:49 +01:00
2023-06-17 11:50:57 +01:00
2023-07-25 15:27:33 +01:00
2023-07-19 19:37:38 +01:00
2022-08-16 14:57:58 +01:00
2023-05-25 10:29:08 +01:00
2023-06-02 15:16:35 +01:00
2023-01-06 12:03:47 +00:00
2022-03-23 12:13:49 +00:00
2023-06-19 13:18:56 +01:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2023-06-16 15:40:11 +01:00
2023-06-16 15:40:11 +01:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2023-07-21 11:52:25 +01:00
2023-06-02 15:16:36 +01:00
2023-07-21 11:52:26 +01:00
2023-05-22 10:53:47 +01:00
2023-07-10 11:36:34 +01:00
2023-07-21 11:52:26 +01:00
2023-07-19 18:00:32 +01:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2023-06-16 15:40:11 +01:00
2022-09-08 14:59:39 +01:00