6802cf7100
The dib-run-parts element was copying our internal version of dib-run-parts into /usr/local/bin to be used running scripts inside the target chroot. However, it never cleaned up after itself. This means all images were left with an unmanaged local install of dib-run-parts. This copies dib-run-parts into the hooks directory of the chroot and runs it from there. It is cleaned up automatically on the exit path. The dib-run-parts element is no longer required and it has been removed from all dependencies. It is left with a deprecation notice in the README. For compatability we convert it to simply install dib-utils. Codesearch shows no users depending on this unintentional implicit install. Note os-refresh-config depends on dib-utils and thus will have an explicitly installed version. Partial-Bug: #1673144 Change-Id: Ia2e96c00a4246c04beb96c17f83b8aefb69219ca
22 lines
789 B
ReStructuredText
22 lines
789 B
ReStructuredText
=============
|
|
dib-run-parts
|
|
=============
|
|
|
|
.. warning::
|
|
|
|
This element is deprecated and is left only for compatability.
|
|
Please read the notes.
|
|
|
|
This element install the ``dib-utils`` package to provide
|
|
``dib-run-parts``.
|
|
|
|
Previously this element was a part of most base images and copied the
|
|
internal version of ``dib-run-parts`` to ``/usr/local/bin`` during the
|
|
build. Due to a (longstanding) oversight this was never removed and
|
|
stayed in the final image. The image build process now uses a private
|
|
copy of ``dib-run-parts`` during the build, so this element has become
|
|
deprecated.
|
|
|
|
For compatability this element simply installs the ``dib-utils``
|
|
package, which will provide ``dib-run-parts``. However, this is
|
|
probably better expressed as a dependency in individual elements.
|