From d0ce0d34e5ffb6b5db3cc967a59d0cb160815e1f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Sun, 13 Sep 2020 15:13:03 +0300 Subject: [PATCH] Run autoremove on post-install step Autoremove can touch packages, that are assumed to be present for post-install step. A good example is dkms, which is dropped in install.d, but dkms element try to use it in post-install step. This results in the following log [1] [1] http://paste.openstack.org/show/797809/ Change-Id: I635af230c6b250fee273039935cf19506e83b3d1 --- .../elements/ubuntu/{install.d => post-install.d}/99-autoremove | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename diskimage_builder/elements/ubuntu/{install.d => post-install.d}/99-autoremove (100%) diff --git a/diskimage_builder/elements/ubuntu/install.d/99-autoremove b/diskimage_builder/elements/ubuntu/post-install.d/99-autoremove similarity index 100% rename from diskimage_builder/elements/ubuntu/install.d/99-autoremove rename to diskimage_builder/elements/ubuntu/post-install.d/99-autoremove