update/sw-patch/cgcs-patch/cgcs_make_patch
Luis Sampaio 3449e5cb31 Sync ostree_repo with patch_repo
When reusing initramfs during the patch creation
the patch_work/patch_repo commit that is included
in the patch has a different sha from the ostree_repo.
This happens because in order to reuse the initramfs
we need to checkout the commit change the files and
check it back which generates a new commit ID, as
this work is done under the patch_repo we need to
sync the deploy/ostree_repo by doing an ostree
pull-local when the initramfs is reused. Otherwise if
we keep the repos out of sync we can't create a
second patch due to the missmatch in the base sha.

Test:
Pass: build patch reusing initramfs
Pass: build patch without reuse

Story: 2009969
Task: 46877
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I69f7e789881a0b51ec4c580348acb753961cf791
2022-11-18 16:18:34 -08:00
..
make_patch.py Sync ostree_repo with patch_repo 2022-11-18 16:18:34 -08:00
make_patching_workspace.py Fix debian patch tool permissions 2022-08-01 14:57:06 -07:00
patch_recipe_insvc_sample.xml make_patch utility for Debian 2022-06-14 09:48:53 -07:00
patch_recipe_rr_sample.xml make_patch utility for Debian 2022-06-14 09:48:53 -07:00