Closed rborn-tx closed 2 months ago
Nice! Just for curiosity's sake, do you know why we don't see this huge parsing time on kirkstone?
Regarding the question of why the slow parsing doesn't seem to happen on kirkstone: I honestly have no idea :weary:.
Obtaining layer information from Git was performed whenever variable EXTRA_OSTREE_COMMIT was expanded which caused metadata parsing to be very slow (20-30 minutes). Since layer information is not supposed to change during build, here we get the layer information only once by using the immediate expansion operator provided by Bitbake. This brings the parsing time to the usual values (1-2 minutes on a good machine).
Resolves #61