18215274d8
As described inline, deprecate the "source" install for CentOS 8. Overwriting the packaged tools has long been a pain-point in our images, and the best outcome is just not to play the game [1]. However, the landscape remains complicated. For example, RHEL/CentOS 8 introduces the separate "platform-python" binary, which seems like the right tool to install platform tools like "glean" (simple-init) with. However, platform-python doesn't have virtualenv (only the inbuilt venv). So that every element doesn't have to hard-code in workarounds for these various layouts, create two new variables DIB_PYTHON_PIP and DIB_PYTHON_VIRTUALENV to just "do the right thing". If you need is "install a pip package" or "create a virtualenv" this should work on all the platforms we support. If you know more specifically what you want (e.g. must be a python3 virtualenv) then nothing stops elements calling that directly (e.g. python3 -m virtualenv create); these are just helper wrappers for base elements that need to be broadly compatible. [1] http://lists.openstack.org/pipermail/openstack-infra/2019-September/006483.html Change-Id: Ia267a60eecfa8f4071dd477d86daebe07e9a7e38 |
||
---|---|---|
.. | ||
1.16.0-updates-bad91fc0b36c1755.yaml | ||
1.17.0-ef744f36d277dba4.yaml | ||
1.18.0-4433d3076627f10d.yaml | ||
1.18.1-ceeb514708dcb731.yaml | ||
Add-DIB-UBUNTU-KERNEL-5f75a809f3ce9bab.yaml | ||
add-modprobe-element-8e3b0287ebb11920.yaml | ||
add-version-less-rhel-element-82fac7f2609e16d3.yaml | ||
block-device-handling-279cddba8a859718.yaml | ||
block-device-lvm-c3b8a214952b4db5.yaml | ||
block-device-mkfs-mount-fstab-42d7efe28fc2df04.yaml | ||
block-device-partitioning-237249e7ed2bad26.yaml | ||
bootloader-commandline-d2db7524f1f9ad28.yaml | ||
bootloader-gpt-d1047f81f3a0631b.yaml | ||
centos-retired-f17ae9f6f03e57e3.yaml | ||
dash-p-after-install-58a87549c1c906c3.yaml | ||
dib-distribution-mirror-8c241c0d3d4a539a.yaml | ||
dib-init-system_fix_for_debian_jessie-c6f7261ee84dad27.yaml | ||
dib-run-parts-6f67d038aa5a4156.yaml | ||
dib-run-parts-e18cc3a6c2d66c24.yaml | ||
dibv2-omnibus-b30e0c7ecd76db8d.yaml | ||
doc-auto-element-dependency-cb7488c5bb7301a4.yaml | ||
dracut-network-adaabf90da9f6866.yaml | ||
efi-bootloader-disk-size-4c1a9f18967104fb.yaml | ||
element-info-entry-point-448bf622be6061a0.yaml | ||
element-override-ccda78c24ab4a4ff.yaml | ||
element-vars-c6bf2e6795002f01.yaml | ||
fedora26-690b9fd9ac3c3d4f.yaml | ||
gpt-esp-partition-size-200568cb6fcc8788.yaml | ||
grub-timeout-1cdd14a2b1467d89.yaml | ||
gzip-env-variable-94e61e0c043f4f1f.yaml | ||
harden-sshd-config-3f84556136014f95.yaml | ||
image-size-padding-24f88d1c4a215221.yaml | ||
image-size-padding-mb-574104d40fdd2345.yaml | ||
incorrect-grub-label-5d2000215c0cc73e.yaml | ||
init-ibft-interfaces-9458d97dfcecc3ae.yaml | ||
journal-console-752b46542ec5595e.yaml | ||
logfile-quiet-b18f2de4059eecfd.yaml | ||
move_tidy_logs_to_main-a8c03427fe1a445c.yaml | ||
openssh-server-0f6d065748a2fc18.yaml | ||
opensuse-150-default-c047033b850d41ec.yaml | ||
opensuse-151-default-67ccfffbc134704d.yaml | ||
opensuse-423-default-3bc73fff69374cd0.yaml | ||
opensuse-minimal-45267f5be1112c22.yaml | ||
package-install-arch-38bb5a6e61794fa5.yaml | ||
package-outside-debootstrap-ac93e9ce991819f1.yaml | ||
pip-and-virtualenv-args-5d3f2512edd7f3a3.yaml | ||
post-root-stage-51da051bcdfbc55f.yaml | ||
pre-finalise-stage-574ae7886274bcba.yaml | ||
remove-dib-utils-37f70dfad54900a0.yaml | ||
rhel7-element-deprecation-b0c1b57be8cd06ac.yaml | ||
root-journal-size-618e064d6681699a.yaml | ||
runtime-ssh-host-keys-7a2fc873cc90d33e.yaml | ||
selinux-permissive-pre-install-ce19461ef17ec972.yaml | ||
simple-init-nm-delay-f579e05467785219.yaml | ||
simple-init-nm-f0896124dee92a03.yaml | ||
skip-packages-env-c97e7b4820f9bfda.yaml | ||
squashfs-output-91c1f0dc37474d3c.yaml | ||
start-using-reno-446b3d52a467a273.yaml | ||
sysprep-f3fd036bc1d2c405.yaml | ||
timestamp-43015aa5434e8ddb.yaml | ||
ubuntu-arbitrary-images-c796f5c6dbd40679.yaml | ||
upgrade-pip-before-c-d2443847f9d58c7a.yaml | ||
yum-cache-removal-148c33012515e56e.yaml | ||
yum-minimal-firmware-194846961a6a1cb9.yaml |