Merge "Use package-installs in more elements"

This commit is contained in:
Jenkins 2014-09-09 18:42:09 +00:00 committed by Gerrit Code Review
commit 5694954959
30 changed files with 36 additions and 79 deletions

View File

@ -0,0 +1 @@
package-installs

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages tgt

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages busybox

View File

@ -0,0 +1,2 @@
busybox
tgt

View File

@ -0,0 +1 @@
package-installs

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages tgt

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages busybox

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages curl

View File

@ -0,0 +1,3 @@
busybox
curl
tgt

View File

@ -1 +1,2 @@
deploy-baremetal deploy-baremetal
package-installs

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages kexec-tools

View File

@ -0,0 +1 @@
kexec-tools

View File

@ -1 +1,2 @@
package-installs
select-boot-kernel-initrd select-boot-kernel-initrd

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages dracut-network patch

View File

@ -0,0 +1,2 @@
dracut-network
patch

View File

@ -0,0 +1 @@
package-installs

View File

@ -1,8 +0,0 @@
#!/bin/bash
# Support for hard ware discovery
set -eu
set -o pipefail
set -o xtrace
install-packages hwinfo

View File

@ -0,0 +1 @@
hwinfo

View File

@ -1,3 +1,4 @@
cache-url cache-url
dib-run-parts dib-run-parts
package-installs
zypper zypper

View File

@ -1,11 +0,0 @@
#!/bin/bash
# Install requirments needed to build the image.
set -eu
set -o pipefail
# install kernel package needed by dkms.
install-packages kernel-devel
# sudo and lsb not included by default.
# so install them.
install-packages sudo lsb-release

View File

@ -0,0 +1,6 @@
# sudo is not included by default.
sudo
# install kernel package needed by dkms.
kernel-devel
# lsb-release is not included by default.
lsb-release

View File

@ -0,0 +1 @@
package-installs

View File

@ -1,9 +1,6 @@
#!/bin/bash
set -eu
set -o pipefail
# Install any packages in this file that may not be in the base cloud # Install any packages in this file that may not be in the base cloud
# image but could reasonably be expected # image but could reasonably be expected
lsof
install-packages which tcpdump traceroute lsof tcpdump
traceroute
which

View File

@ -3,9 +3,8 @@
set -eu set -eu
set -o pipefail set -o pipefail
# Must manually remove grub2 here, otherwise the download below does not work.
yum remove -y grub2 yum remove -y grub2
# Install grub2 dependencies to minimise packages installed during finalise.
install-packages grub2-tools gettext os-prober system-logos
# Remove all old versions of grub2 from the yum cache and then ensure the # Remove all old versions of grub2 from the yum cache and then ensure the
# latest version is in the cache. # latest version is in the cache.

View File

@ -0,0 +1,5 @@
gettext
-grub2
grub2-tools
os-prober
system-logos

View File

@ -1,2 +1,3 @@
cache-url cache-url
manifests manifests
package-installs

View File

@ -1,11 +1,5 @@
#!/bin/bash
set -uex
set -o pipefail
# Git isn't a dependency of this element, but is a dependency of pbr # Git isn't a dependency of this element, but is a dependency of pbr
# if you are doing pip install on a git cloned directoy, because this # if you are doing pip install on a git cloned directoy, because this
# looks to be a fairly common pattern it makes sense to have git on the # looks to be a fairly common pattern it makes sense to have git on the
# target image # target image
install-packages git git

View File

@ -0,0 +1 @@
package-installs

View File

@ -8,5 +8,3 @@ NET_NAME_SLOT_FILE="/etc/udev/rules.d/80-net-name-slot.rules"
if [ -h $NET_NAME_SLOT_FILE ]; then if [ -h $NET_NAME_SLOT_FILE ]; then
rm $NET_NAME_SLOT_FILE rm $NET_NAME_SLOT_FILE
fi fi
install-packages biosdevname