This commit add the deploy_precheck element to XML, allowing the
patch writer to add script used on the pre-check process of the deploy.
Test Plan:
- Enter the builder container
$ stx shell
$ cd $MY_REPO/build-tools/stx/patch
- Build patch
$ ./patch_builder.py --recipe EXAMPLES/patch-recipe-sample.xml
- Verify if file has been added to .patch
Story: 2010676
Task: 49013
Change-Id: I18ae7fcbf046362d53a67bc290ffc9b1a0b888ad
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
This utility will build patches based on .deb packages
instead of ostree delta.
Steps to build a patch (more details in the README file):
- Enter the builder container
$ stx shell
$ cd $MY_REPO/build-tools/stx/patch
- Install py requirements
$ pip install -r requirements.txt
- Update the patch-recipe file and build
$ ./patch_builder.py --recipe patch-recipe.xml
Story: 2010676
Task: 48640
Change-Id: Ida6fc316cdd6e8753ddf2845c27084f3238dd036
Signed-off-by: lsampaio <luis.sampaio@windriver.com>