[Starlingx-discuss] What is the function of patches directory in StarlingX source code

Liu, Changcheng changcheng.liu at intel.com
Tue Jan 8 01:25:49 UTC 2019


Hi AI & Bin,
     Does sm_patch.py make effect when installing the ISO image or it makes effect to apply all the patches when building the source code?
     Specifically, what's below patch used for? Could I remove it from source code directly?
            cgcs-root/stx/stx-ha/service-mgmt/sm-db-1.0.0/patches/sm_db_ceph_install.patch
     I'm removing ceph-rest-api from source code and replace it with other service. The above patch define some service realted with ceph-rest-api. I don't know whether I need change that patch file.

B.R.
Changcheng

From: Bailey, Henry Albert (Al) [mailto:Al.Bailey at windriver.com]
Sent: Monday, January 7, 2019 9:50 PM
To: Liu, Changcheng <changcheng.liu at intel.com>; starlingx-discuss at lists.starlingx.io
Cc: Qian, Bin <Bin.Qian at windriver.com>
Subject: RE: [Starlingx-discuss] What is the function of patches directory in StarlingX source code

I believe the contents of that folder are installed into a patches folder, and acted upon by the sm-patch utility
https://github.com/openstack/stx-ha/blob/master/service-mgmt-tools/sm-tools/sm_tools/sm_patch.py

It looks like they populate "V1"  tables.   Bin should be able to indicate if we still make use of the V1 tables or not.

Al


From: Liu, Changcheng [mailto:changcheng.liu at intel.com]
Sent: Sunday, January 06, 2019 10:57 PM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] What is the function of patches directory in StarlingX source code

Hi all,
     What's the function of patches directory in StartlingX source code?
     For example: cgcs-root/stx/stx-ha/service-mgmt/sm-db-1.0.0/patches/sm_db_ceph_install.patch

Regards,
Changcheng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190108/b80b7d47/attachment.html>


More information about the Starlingx-discuss mailing list