StarlingX Installation/Update/Patching/Backup/Restore
Go to file
Luis Sampaio 864f8156d6 make_patch utility for Debian
This allows creation of debian patches (RR and INSVC) based on ostree.

Steps to create a debian patch:
1) Export env variables, e.g:
export PROJECT="stx-debian-desktop"
export STX_BUILD_HOME="/localdisk/designer/${USER}/${PROJECT}"

2) Run prepare to create a clone of the STX_BUILD_HOME ostree_repo
./make_patch.py prepare --clone-repo ostree_test

3) Make changes to the environment
- update a package
- build-pkgs -c -p <package name>
- build-image
This will create a new commit in the build ostree_repo

4) Create your patch.xml (samples provided)
- patch_recipe_rr_sample.xml
- patch_recipe_insvc_sample.xml

5) Run create to build the patch
./make_patch.py create --patch-recipe patch_recipe_rr_sample.xml \
--clone-repo ostree_test

Once the script is done the .patch file can be located at:
$STX_BUILD_HOME/localdisk/lat/std/deploy/

Story: 2009969
Task: 45542
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I902c42bc22601810fb91e45c630671af14906dcd
2022-06-14 09:48:53 -07:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
cgcs-patch Update tostring while writing xml 2022-06-07 09:20:24 -07:00
devstack Subdirectories 'tsconfig ' relocated to repo 'stx-config' 2019-09-05 13:04:59 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
enable-dev-patch Add Debian packaging for patch packages 2021-12-02 10:19:42 -06:00
extras/scripts Add setup_patch_repo.sh for patch-iso 2020-02-12 14:38:01 -05:00
patch-alarm Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patch-boot-args StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch-scripts Update kubelet patch restarting script to check running version 2022-03-02 17:32:15 -05:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
sw-patch make_patch utility for Debian 2022-06-14 09:48:53 -07:00
.gitignore Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:36 +00:00
.zuul.yaml Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:37:12 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:12 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:37:12 -07:00
bindep.txt Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:56:44 +08:00
centos_dev_wheels.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
centos_iso_image.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
centos_pkg_dirs Patch script for restarting kubelet and isolcpus_plugin services 2022-02-28 17:06:34 -05:00
centos_stable_wheels.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:12:40 -04:00
debian_iso_image.inc Add debian_iso_image.inc file 2021-10-27 02:37:57 -04:00
debian_pkg_dirs Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
pylint.rc Enable Unused Variable 2019-07-19 10:28:00 -04:00
requirements.txt Add Zuul test foundation 2018-07-25 08:48:07 -05:00
test-requirements.txt Adding rpm-python to bindep to fix pylint 2021-12-15 09:13:13 -06:00
tox.ini make_patch utility for Debian 2022-06-14 09:48:53 -07:00

README.rst

stx-update

StarlingX Software Management