Comment 2 for bug 2012406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.opendev.org/c/openstack/diskimage-builder/+/878089
Committed: https://opendev.org/openstack/diskimage-builder/commit/45544d50385b19093f6e9f916ee184c7b11c8f38
Submitter: "Zuul (22348)"
Branch: master

commit 45544d50385b19093f6e9f916ee184c7b11c8f38
Author: Michael Johnson <email address hidden>
Date: Tue Mar 21 15:16:10 2023 +0000

    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