diskimage-builder/diskimage_builder/elements
Maksim Malchuk c4c21967d8 Fix hooks order for CentOS/Fedora when mirror used
The python3/python3-pyyaml packages both are never installed and dnf
itself never updated when $DIB_DISTRIBUTION_MIRROR set and used.

This change fix the order of the operations:
 1. yum/dnf configure.
 2. *.repo patching.
 3. yum/dnf update/install execution.

Change-Id: Ifbbf1f0190fe8c8a77fb3be820e8056447e755f6
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-03-04 10:54:52 +00:00
..
apt-conf
apt-preferences
apt-sources Use local mirror for ubuntu-minimal jobs 2017-06-21 12:01:31 +10:00
baremetal
base Debuntu: add apt-transport-https 2020-04-02 10:11:35 +11:00
block-device-efi Increase size of EFI system partition (again) 2019-05-31 17:10:08 +10:00
block-device-gpt Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
block-device-mbr Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
bootloader bootloader: remove dangling grubenv links 2020-09-08 18:04:42 +10:00
cache-url Fix cache-url -f 2020-02-05 10:19:12 +01:00
centos Fix hooks order for CentOS/Fedora when mirror used 2021-03-04 10:54:52 +00:00
centos7 Add CentOS 8 support 2020-02-19 10:44:56 +01:00
centos-minimal Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
cleanup-kernel-initrd
cloud-init update various gentoo bits 2020-08-24 10:21:35 -05:00
cloud-init-datasources Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
cloud-init-disable-resizefs Disable growpart in cloud-init-disable-resizefs 2020-10-06 14:03:57 +02:00
cloud-init-nocloud
debian Fix element-provides in debian element 2018-03-26 10:58:04 -07:00
debian-minimal Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
debian-systemd Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debian-upstart Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debootstrap Ensure machine-id is not included in images 2019-09-20 03:17:50 +00:00
deploy-baremetal
deploy-kexec
deploy-targetcli
deploy-tgtadm
devuser install sudo in the devuser element 2018-03-22 00:16:09 -05:00
dhcp-all-interfaces Add support for vlan interfaces in dhcp-all-interfaces.sh 2020-11-03 10:04:17 -05:00
dib-init-system Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
dib-python Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
dib-run-parts Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
disable-nouveau Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
disable-selinux dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
dkms
docker Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
dpkg Rename duplicating 10-debian-minimal.bash 2020-09-18 14:52:56 +10:00
dracut-network Remove dracut-network element 2017-05-31 08:36:56 +10:00
dracut-ramdisk Merge "Remove use of 'which'." 2017-06-11 09:30:34 +00:00
dracut-regenerate Fix building error with element dracut-regenerate 2021-01-14 01:30:52 +00:00
dynamic-login Fix dynamic-login with grub2 2020-11-20 15:00:54 +01:00
element-manifest
enable-serial-console update various gentoo bits 2020-08-24 10:21:35 -05:00
ensure-venv Add ensure-venv element, install glean with it 2020-03-10 11:57:43 +11:00
epel Ensure yum-utils is installed in epel element 2020-10-08 09:49:57 +02:00
fedora Fix hooks order for CentOS/Fedora when mirror used 2021-03-04 10:54:52 +00:00
fedora-minimal Fedora 32 support 2020-08-17 19:40:02 +10:00
gentoo simplify updating python versions in gentoo 2021-01-27 11:34:09 -06:00
growroot Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
grub2 Use x86 architeture specific grub2 packages for RHEL 2019-09-12 15:06:17 -04:00
hpdsa fail early when lates build information can not be fetched 2019-05-31 16:09:25 +10:00
hwburnin
hwdiscovery Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ibft-interfaces Add an element to configure iBFT network interfaces 2018-11-20 14:11:11 +01:00
ilo
install-bin pip-and-virtualenv: drop f31 & tumbleweed, rework suse 15 install 2020-04-23 08:10:26 +10:00
install-static
install-types
iscsi-boot Fix centos 8.3 partition image building error with element iscsi-boot 2021-01-14 02:05:20 +00:00
iso Remove the deprecated ironic-agent element 2021-01-21 14:06:08 +01:00
journal-to-console journal-to-console: element to send systemd journal to console 2019-07-25 11:24:49 +10:00
local-config
lvm Allow processing 'focal' ubuntu release in lvm 2020-10-28 16:55:49 +02:00
manifests Set manifest permissions in the image 2017-05-24 15:20:55 +10:00
mellanox Mellanox element: removed ibutils,libibcm,libmlx4-dev 2020-03-23 00:06:53 +02:00
modprobe modprobe.d: use $TMP_MOUNT_PATH 2019-12-18 11:42:02 -05:00
modprobe-blacklist Add new modprobe element 2018-06-28 13:55:53 +02:00
no-final-image Remove the deprecated ironic-agent element 2021-01-21 14:06:08 +01:00
oat-client
openssh-server openssh-server: harden sshd config 2019-05-01 11:42:21 -04:00
openstack-ci-mirrors Merge "Add arm64 based functional test" 2019-12-16 21:31:51 +00:00
opensuse Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
opensuse-minimal Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
package-installs Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
pip-and-virtualenv Install last stable version of get-pip.py script 2021-02-01 08:29:04 +01:00
pip-cache Fix DIB ubuntu-minimal running on bionic (18.04) 2018-10-01 19:59:30 -07:00
pkg-map Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
posix
proliant-tools Remove the deprecated ironic-agent element 2021-01-21 14:06:08 +01:00
pypi Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
python-brickclient
python-stow-versions Fix python-stow-versions 2020-11-17 09:23:32 +00:00
ramdisk Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ramdisk-base Remove use of 'which'. 2017-05-19 12:43:36 -07:00
rax-nova-agent
redhat-common Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
rhel Create /etc/machine-id for RHEL images 2019-08-07 18:18:34 +10:00
rhel7 Deprecate rhel7 in favor of rhel 2019-05-29 12:07:44 +00:00
rhel-common Set eus repositories if REG_RELEASE is set 2021-02-01 09:44:16 -05:00
rpm-distro dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
runtime-ssh-host-keys
select-boot-kernel-initrd
selinux-permissive move selinux-permissive configure to pre-install phase 2018-11-19 13:13:57 +11:00
simple-init simple-init: also remove en* interfaces from the images 2020-11-22 20:17:42 +01:00
source-repositories Install git-core instead of git on RH systems 2020-11-26 17:16:31 +01:00
stable-interface-names
svc-map update various gentoo bits 2020-08-24 10:21:35 -05:00
sysctl
sysprep Ensure machine-id is not included in images 2019-09-20 03:17:50 +00:00
uboot
ubuntu Run autoremove on post-install step 2020-11-17 09:23:35 +00:00
ubuntu-common Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
ubuntu-minimal Add 'DIB_UBUNTU_MIRROR_DISTS' to ubuntu-minimal 2021-01-27 10:32:49 +02:00
ubuntu-signed Use sphinx warning-is-error 2017-03-14 14:49:49 +11:00
ubuntu-systemd-container Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
vm Add block-device defaults 2018-02-23 10:04:40 +11:00
yum Fix hooks order for CentOS/Fedora when mirror used 2021-03-04 10:54:52 +00:00
yum-minimal Don't install centos-linux-release on 8-stream 2021-02-23 12:57:05 +13:00
zipl Delete the duplicate words in 50-zipl 2019-01-07 10:02:35 +08:00
zypper Fix login.defs config for tumbleweed 2019-12-02 16:21:45 -08:00
zypper-minimal Install gzip instead of busybox-gzip on suse 2020-09-14 16:00:47 -07:00
__init__.py Fix unit tests for elements 2018-11-28 11:04:50 +11:00