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.
Reviewed: https:/ /review. opendev. org/c/openstack /diskimage- builder/ +/878089 /opendev. org/openstack/ diskimage- builder/ commit/ 45544d50385b190 93f6e9f916ee184 c7b11c8f38
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 45544d50385b190 93f6e9f916ee184 c7b11c8f38
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 fa89203c075d3ea 8f632e77177
Change-Id: I4592e3bd502045