f45996c192
* Move remove-extra-packages to post-install since finalise.d is running on the final image and the DIB documentation recommends avoiding unnecessary actions there. * Remove a few packages that used to be removed only for Fedora; do not try to remove those that aren't on the cloud image. * Do all uninstallations in pre-install phase, so that it doesn't try to remove dependencies of already installed packages. * Exclude more locale files from the image. * Exclude the content of /var/log. Change-Id: Idb7819b1d783f4f5f390cc7621019d3be2fa576f
62 lines
1.1 KiB
YAML
62 lines
1.1 KiB
YAML
tgt:
|
|
curl:
|
|
# dmidecode does not exist for ppc* arches so we use lshw
|
|
dmidecode:
|
|
not-arch: ppc64,ppc64el,ppc64le
|
|
iptables:
|
|
lshw:
|
|
ipmitool:
|
|
qemu-utils:
|
|
gcc:
|
|
python-dev:
|
|
parted:
|
|
hdparm:
|
|
util-linux:
|
|
genisoimage:
|
|
gdisk:
|
|
kmod:
|
|
psmisc:
|
|
dosfstools:
|
|
mdadm:
|
|
|
|
# Unnecessary packages to remove. We run all removals in pre-install phase, to
|
|
# avoid breaking installs that happen in install phase.
|
|
|
|
cloud-init:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
git:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
kbd:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
man-db:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
rsync:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
|
|
# Distro-specific uninstalls
|
|
cronie:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
when: IPA_DISTRO_FAMILY = rh
|
|
kernel-debug-devel:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
when: IPA_DISTRO_FAMILY = rh
|
|
plymouth:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
when: IPA_DISTRO_FAMILY = rh
|
|
teamd:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
when: IPA_DISTRO_FAMILY = rh
|
|
yum:
|
|
phase: pre-install.d
|
|
uninstall: true
|
|
when: DISTRO_NAME = fedora
|