lsampaio e8c38945e0 Add patch builder utility
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>
2023-09-29 13:33:46 -04:00

24 lines
440 B
Bash

#!/bin/bash
#
# Copyright (c) 2023 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
#
# The patching subsystem provides a patch-functions bash source file
# with useful function and variable definitions.
#
. /etc/patching/patch-functions
#
# Declare an overall script return code
#
declare -i GLOBAL_RC=$PATCH_STATUS_OK
echo "Post-install hook script"
#
# Exit the script with the overall return code
#
exit $GLOBAL_RC