Open main menu

CDOT Wiki β

Changes

LEAP SOP

355 bytes added, 21:32, 27 March 2016
no edit summary
; Unknown system type
: <u>Reason</u>: The software only allows it to be built with kernel 2.6/3.x
: <u>Solution</u>: Add 4.x support to the system checking script(just a IF statement of checking version number)
; Build test/check failed
== Source modification ==
There a few standards to follow during modificationto make life easier:
* Add comments about any line changes
* Add the word ''LEAP'' at the beginning of any comments, for example:
== Duplicated source name ==
A few packages in the package set contain patches or sources having identical file names. When installing source rpms to rpmbuild tree (<tt>$HOME/rpmbuild/*</tt>), try to avoid installing too many of them at the same time (50+). Wipe the rpmbuild tree after finishing modification and build of those packages on Koji. There are a few problematic packages have been discovered:
* OpenJDK 6 / '''java-1.7 / 8 packages.0-openjdk''' and '''java-1.7.0-openjdk'''
* '''xorg-x11-drv-dummy''' and '''xorg-x11-drv-fbdev'''
== Other packages special cases ==
* '''libreoffice''' - Require at least 50GB of space to build
* '''binutils''' - was intentionally upgraded to 2.24, be careful not to downgrade it.
* '''httpd''' - <tt>centos-noindex.tar.gz</tt> contains branded default webpages, replace it with <tt>leap-noindex.tar.gz</tt> from previous version of httpd
= Fixing broken dependencies =
After all of the packages have been done, it's time to fix minor broken dependencies. <tt>repoclosure</tt> and <tt>leap-closure-report.sh</tt> (by Chris Markieta) are the tools to check dependency stats of a repository. You should always check the build-tag repository since new packages may require some of the old packages.
When a package requires a missing shared library file like <tt>xxxxx-3.so</tt>, it only need to be rebuilt again (if the library exists) in order to pick up the latest <tt>.so </tt> file from the latest version of required library.
= Package signing =