meta-starlingx/meta-stx-flock
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
..
conf meta-stx: update LICENSE and copyright info 2020-06-08 13:00:26 -07:00
stx-ansible-playbooks playbookconfig: set longer timeout and add retries for ansible 2020-06-13 16:29:45 -07:00
stx-config stx-config: set and limit checkouts to subpaths 2020-09-22 19:38:36 -07:00
stx-config-files stx-config-files: split stx configs into bbappends 2020-09-22 10:38:48 -07:00
stx-distributedcloud stx-distributedcloud: remove empty lines from recipes 2020-09-22 20:08:18 -07:00
stx-fault stx-fault: set and limit checkouts to subpaths 2020-09-22 19:42:46 -07:00
stx-gui stx-gui: remove empty line from recipe 2020-09-22 20:07:52 -07:00
stx-ha libsm-common: add missing dependency in Makefile for libsm_watchdog_nfs 2020-10-28 21:32:08 +08:00
stx-integ Add a method to re-use meta data from stx repo 2021-06-17 10:10:45 +08:00
stx-integ-kubernetes cloud-provider-openstack: remove empty line from recipe 2020-09-22 20:07:11 -07:00
stx-metal stx-metal: add vlan setting for debain style networking in kickstart 2020-11-27 10:52:57 +08:00
stx-monitor-armada-app stx-monitor-armada-app: limit checkouts to subpath 2020-09-22 20:05:29 -07:00
stx-monitoring stx-monitoring: set and limit checkouts to subpaths 2020-09-22 20:04:04 -07:00
stx-nfv stx-nfv: set and limit checkouts to subpaths 2020-09-22 20:01:16 -07:00
stx-openstack-armada-app openstack-helm-infra: set PATCHTOOL Remove do_patch override 2020-07-15 12:38:47 -07:00
stx-platform-armada-app armada-app: fix build failure on centos 2020-06-16 09:59:50 -07:00
stx-update stx-update: set and limit checkouts to subpaths 2020-09-22 20:03:27 -07:00
stx-upstream Add a method to re-use meta data from stx repo 2021-06-17 10:10:45 +08:00
stx-utilities stx-extensions: fix the files permission 2020-10-28 21:46:21 +08:00