diskimage-builder/elements/package-installs
Gregory Haynes c27e32f769 package-installs assumes packages have a pkg-map
Our package-installs script fails when installing a package which does
not have a pkg-map but a pkg-map file exist for the element.

Change-Id: I3dab802e23bccfc916efcc1c70c6ce6c4a9ccf67
2014-10-27 09:42:58 -07:00
..
bin package-installs assumes packages have a pkg-map 2014-10-27 09:42:58 -07:00
install.d package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
post-install.d package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
pre-install.d package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
element-deps package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
README.rst package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00

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.