7f9ebf2632
Adds a new element, package-installs, that provides an interface for declarative package installs and uninstalls. Packages to install can be added to an install.d/package-installs-<element-name> file. The set of packages listed across such files are installed in a single transaction at the beginning of install.d. Prefacing the package name with a "-" indicates that the package should be uninstalled at the end of the install.d phase. Again, the full set of uninstalls are done in a single transaction. An element providing a package-installs file should add package-installs to its element-deps file. Change-Id: I5b540388eff1079c8dee933b869463371481152b
8 lines
437 B
ReStructuredText
8 lines
437 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
|
|
install.d directory called package-installs-<element-name> will cause the list
|
|
of packages in that file to be installed at the beginning of the install.d
|
|
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.
|