Use package-installs in fedora
Updates the fedora element to use the declarative package install support provided by the package-installs element. Change-Id: Ib3eb1936aa5c4efc350828e004794b0a8bd6c6c4
This commit is contained in:
parent
17f8bda93f
commit
3d0e111479
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
# On a fresh Fedora 18 install you might have to update audit in order to
|
|
||||||
# fix a conflict with a file from the glibc package.
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=894307
|
|
||||||
exec install-packages audit
|
|
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
# The version of openssl shipped in the fedora cloud image is no longer
|
|
||||||
# compatible with new python environments installed by virtualenv, so we need
|
|
||||||
# to update it first.
|
|
||||||
# See https://bugs.launchpad.net/diskimage-builder/+bug/1254879
|
|
||||||
install-packages openssl
|
|
@ -1,8 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eux
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
# Workaround for:
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1066983
|
|
||||||
install-packages vim-minimal
|
|
18
elements/fedora/install.d/00-fedora-fixup-pyopenssl → elements/fedora/install.d/package-installs-fedora
Executable file → Normal file
18
elements/fedora/install.d/00-fedora-fixup-pyopenssl → elements/fedora/install.d/package-installs-fedora
Executable file → Normal file
@ -1,7 +1,13 @@
|
|||||||
#!/bin/bash
|
# On a fresh Fedora 18 install you might have to update audit in order to
|
||||||
|
# fix a conflict with a file from the glibc package.
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=894307
|
||||||
|
audit
|
||||||
|
|
||||||
set -eu
|
# The version of openssl shipped in the fedora cloud image is no longer
|
||||||
set -o pipefail
|
# compatible with new python environments installed by virtualenv, so we need
|
||||||
|
# to update it first.
|
||||||
|
# See https://bugs.launchpad.net/diskimage-builder/+bug/1254879
|
||||||
|
openssl
|
||||||
|
|
||||||
# FIXME: To avoid conflict between the pyOpenSSL installed via python-pip
|
# FIXME: To avoid conflict between the pyOpenSSL installed via python-pip
|
||||||
# and pyOpenSSL installed via yum, we are going to sort it out installing
|
# and pyOpenSSL installed via yum, we are going to sort it out installing
|
||||||
@ -11,4 +17,8 @@ set -o pipefail
|
|||||||
# dependency of the python-paste package needed for the heat element,
|
# dependency of the python-paste package needed for the heat element,
|
||||||
# this seems to be conflicting and causing the image building process to
|
# this seems to be conflicting and causing the image building process to
|
||||||
# fail. The problem is hapenning on a Fedora 18 system.
|
# fail. The problem is hapenning on a Fedora 18 system.
|
||||||
install-packages python-pyopenssl
|
python-pyopenssl
|
||||||
|
|
||||||
|
# Workaround for:
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1066983
|
||||||
|
vim-minimal
|
Loading…
Reference in New Issue
Block a user