ReleaseEngineering/PuppetAgain/Modules/packages: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:
== Mozilla-Built Packages ==
== Mozilla-Built Packages ==


In many cases, we want customized or patched packages.  Those should be under ''packages::mozilla''.  Packages in this space have more requirements, since they are not simply pulling in a publicly available package:
In many cases, we want customized or patched packages.  Those should be under ''packages::mozilla''.  Packages in this space have more requirements, since they are not simply pulling in a publicly available package. See [ReleaseEngineering/PuppetAgain/HowTo/Hack on PuppetAgain#Custom Packages]].
* each should be documented in detail here. Indicate what was changed, and why. This will help others to implement new platforms, or make upgrades.
* equipment required to rebuild the package (e.g., .spec files) should be included in the same directory as the manifests, with the same filename prefix.  If there are complications, include a README.
* try to avoid building Mozilla packages except where necessary!


=== packages::mozilla::git ===
=== packages::mozilla::git ===


This is a customized build of Git without various GUI things and installed with a prefix of ''/tools/git'', so that the git binary is at ''/tools/git/bin/git''.  The GUI utilities are not necessary on a buildslave, and pull in lots of unnecessary packages.
This is a customized build of Git without various GUI things and installed with a prefix of ''/tools/git'', so that the git binary is at ''/tools/git/bin/git'' with a symlink at ''/usr/local/bin/git''.  The GUI utilities are not necessary on a buildslave, and pull in lots of unnecessary packages.


=== packages::mozilla::mock_mozilla ===
=== packages::mozilla::mock_mozilla ===
Line 59: Line 56:
=== packages::mozilla::python26 ===
=== packages::mozilla::python26 ===


This is a custom build of Python-2.6.7, primarily to put the binaries out of the way of the system python.  It installs to /tools/python26, with python at /tools/python26/bin/python.
This is a custom build of Python-2.6.7, primarily to put the binaries out of the way of the system python.  It installs to /tools/python26, with python at /tools/python26/bin/python, and a symlink at /usr/local/bin/python2.6.


=== packages::mozilla::python27 ===
=== packages::mozilla::python27 ===
Line 67: Line 64:
=== packages::mozilla::py27_mercurial ===
=== packages::mozilla::py27_mercurial ===


Installs Mercurial, built against packages::mozilla::python27.
Installs Mercurial, built against packages::mozilla::python27.  This installs a symlink at /usr/local/bin/hg.


=== packages::mozilla::py27_virtualenv ===
=== packages::mozilla::py27_virtualenv ===


Installs virtualenv, built against packages::mozilla::python27.  Note that virtualenv is a single .py file, and thus does not need to be built at all.  The python::virtualenv puppet module does not use this package.
Installs virtualenv, built against packages::mozilla::python27.  Note that virtualenv is a single .py file, and thus does not need to be built at all.  The python::virtualenv puppet module does not use this package.  This installs a symlink at /usr/local/bin/virtualenv.


=== packages::mozilla::tooltool ===
=== packages::mozilla::tooltool ===


This installs the tooltool script at /tools/tooltool.py; it is built from a template to use packages::mozilla::python27.
This installs the tooltool script at /tools/tooltool.py; it is built from a template to use packages::mozilla::python27.
canmove, Confirmed users
1,394

edits

Navigation menu