diskimage-builder/elements/package-installs/README.rst
James Slagle 17f8bda93f package-installs for pre-install.d/post-install.d
Packages are often also installed in both the pre-install.d and
post-install.d phases. This patch expands the package-installs element
to support declarative package support for these phases in addition to
the existing support for install.d. The actual install/uninstall logic
is moved to common scripts under bin/ so that it can be reused across
the different phases.

Change-Id: Id51d0bbad232737fc8b5ffaf016dec50cd5b66c9
2014-08-14 21:18:19 -04:00

8 lines
474 B
ReStructuredText

The package-installs element allows for a declarative method of installing and
uninstalling packages for an image build. Adding a file under your elements
pre-install.d, install.d, or post-install.d directories called
package-installs-<element-name> will cause the list of packages in that file to
be installed at the beginning of the respective phase.
If the package name in the file starts with a "-", then that package will be
removed at the end of the install.d phase.