meta-starlingx/meta-stx-flock/stx-integ
Jackie Huang 067b37abdc Add a method to re-use meta data from stx repo
StarlingX has many repos to maintain meta data (patches and config files)
for packages, previously we added a local copy of those files as bitbake's
metadata for each recipe which may cause maintenance issue.

So add a method to avoid that, which includes:

* Add new recipes stx-${STX_REPO}-source for thoes stx git repo and put
  them into the work-shared directory so they can be used by other recipes
  that need the stx  meta data, so it will reduce downloads and increase
  re-use.

* Add stx-source.bbclass for easily creating the work-shared recipes

* Add stx-metadata.bbclass for those recipes that need the stx meta data,
  it will add dependency on the stx-${STX_REPO}-source and redefine the
  SRC_URI before do_patch, so it can find the patches in stx repo in
  work-shard and do the patch, and other meta data like config files can
  be used in do_install, then the local copy of those meta data can be
  removed, and for the future upgrade, we don't need to manually check
  and update those meta data any more.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I0d07f2f6002eb0cee97ae86f95571d340de08a0b
2021-06-17 10:10:45 +08:00
..
files/ibsh Restructure STX Flock recipes 2020-05-17 16:00:29 -07:00
ibsh_0.3e.bbappend stx-integ: remove empty line from recipe 2020-09-22 20:06:14 -07:00
kvm-timer-advance-setup.bb stx-integ: remove empty line from recipe 2020-09-22 20:06:14 -07:00
spectre-meltdown-checker_git.bb stx-integ: remove empty line from recipe 2020-09-22 20:06:14 -07:00
stx-integ-source_git.bb Add a method to re-use meta data from stx repo 2021-06-17 10:10:45 +08:00