This documentation is for WSO2 Carbon 4.2.0. View documentation for the latest release.
Shipping a Kernel Patch with Distribution - Carbon 4.2.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

According to the WSO2 patch application process, after a kernel public patch is created as described in Creating a Carbon Kernel Patch, the respective product team should follow the steps below to add the patches to the product distribution, if a product that is based on Carbon kernel needs to ship the patch by default.

To ship a kernel patch with a product distribution:

  1. Add the patch to the respective product distribution build. Follow the identical process that you use to add a Carbon kernel distribution (wso2carbon-core-<version>.zip) to a product distribution using the Maven dependency plugin.


    <!-- Unzipping WSO2-CARBON-PATCH-4.1.0-0001-->
  2. When the distribution gets built for a product, ensure that the libraries/jars subdirectory in the patch directory (e.g., patch0xxx) are copied to the <PRODUCT_HOME>/repository/components/patches/patch0xxx directory.  


      <!-- Copying WSO2-CARBON-PATCH-4.1.0-0001 files to the patches directory-->
  • No labels