Open main menu

CDOT Wiki β

Changes

LEAP SOP

1,862 bytes added, 18:53, 27 March 2016
no edit summary
== Source modification ==
There a few standards to follow during modification:
* Add comments about any line changes
* Add the word ''LEAP'' at the beginning of any comments, for example:
<source lang=bash>
# LEAP Add AArch64 support
ExclusiveArch: x86_64 aarch64
</source>
* Add ''.leap'' after the release version, add ''.leap.1'', ''.leap.2'' ... and so on for further modification
 
* Make sure to specify all the changes under the <tt>%changelog</tt> section:
<source lang=bash>
* Fri Mar 25 2016 Foo Bar <foo.bar@example.com> - 1:1.28.1-1.55.leap
- Add AArch64 support
- Roll in LEAP Branding
 
</source>
 
=== Rebranding ===
The packages that contains the word ''.centos'' in their release version are branded packages. In order to properly rebranding those packages for LEAP, here is the checklist:
* Replace the word ''CentOS'' or ''CentOS Linux'' with ''LEAP'' in spec package descriptions and patches (make sure they are branding-related)
* Replace CentOS branding patches with LEAP branding patches
** If certain patch file contain author names, regenerate the patch with your own name instead of modifying the patch directly
* Replace CentOS links with LEAP links accordingly
* Sometimes Red Hat trademarks and links have to be replaced as well
* Remove CentOS/RHEL certificate files and binaries
 
 
==== Particular branded packages ====
 
; libreport/abrt
: '''Libreport''' and '''abrt''' are the library and application for automatic bug detection and reporting to RHEL bug tracker servers. Since CentOS added several significant patches to both packages for supporting their own bug tracker, removing those patches can be very complicated process. The best way to solve this problem is retrieving the original RHEL versions from http://git.centos.org, add our old debranding patches, and bump the version-release number + ''.leap'' to match the requirements of dependency.
 
More coming ...