diskimage-builder/diskimage_builder/elements/ubuntu-common
Michael Johnson 45544d5038 Fix ubuntu-minimal to run autoremove
The "ubuntu" target had a post-install 99-autoremove task that removed
unnecessary dependency packages, but the "ubuntu-minimal" target does not.
This patch moves the 99-autoremove post-install task from the "ubuntu" target
to the "ubuntu-common" target so that both will run an autoremove at the end of
the image build.
For the Octavia amphora image, this saved about 1GB in the image by removing
build only package dependencies.

Closes-Bug: #2012406
Change-Id: I4592e3bd502045fa89203c075d3ea8f632e77177
2023-03-21 15:19:37 +00:00
..
environment.d Bump Ubuntu release to focal 2021-08-26 23:28:33 -03:00
install.d Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
post-install.d Fix ubuntu-minimal to run autoremove 2023-03-21 15:19:37 +00:00
element-deps Clear /etc/machine-id to avoid duplicate machine-ids 2017-08-06 13:56:58 -04:00
README.rst Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00

ubuntu-common
=============

This element holds configuration and scripts that are common for all
Ubuntu images.