]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_ext: record METADATA_REVISION
authorChen Qi <Qi.Chen@windriver.com>
Fri, 5 Mar 2021 10:10:40 +0000 (18:10 +0800)
committerSteve Sakoman <steve@sakoman.com>
Sat, 20 Mar 2021 16:27:38 +0000 (06:27 -1000)
commitc6793c5c9af2c7d2547e1dc3ef7ab05f6bb41563
tree914c181064d75b73c2171c970cf906aca70dfc50
parent5f27d66b5e3a7bffc23c140edf76fc8fd4cd5b23
populate_sdk_ext: record METADATA_REVISION

As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.

  WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
  but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64

So we record METADATA_REVISION in eSDK generation time to fix this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/populate_sdk_ext.bbclass