2017-08-23 14:01:20 -04:00
|
|
|
# If new packages are installed by BootstrapSuseCommon below, this version
|
|
|
|
|
# number must be increased.
|
|
|
|
|
BOOTSTRAP_SUSE_COMMON_VERSION=1
|
|
|
|
|
|
2015-12-02 01:47:38 -05:00
|
|
|
BootstrapSuseCommon() {
|
|
|
|
|
# SLE12 don't have python-virtualenv
|
|
|
|
|
|
2016-04-22 15:00:24 -04:00
|
|
|
if [ "$ASSUME_YES" = 1 ]; then
|
|
|
|
|
zypper_flags="-nq"
|
|
|
|
|
install_flags="-l"
|
|
|
|
|
fi
|
|
|
|
|
|
2017-01-23 20:55:59 -05:00
|
|
|
if [ "$QUIET" = 1 ]; then
|
2017-01-20 12:40:36 -05:00
|
|
|
QUIET_FLAG='-qq'
|
|
|
|
|
fi
|
|
|
|
|
|
2017-08-21 15:23:09 -04:00
|
|
|
zypper $QUIET_FLAG $zypper_flags in $install_flags \
|
2015-12-02 01:47:38 -05:00
|
|
|
python \
|
|
|
|
|
python-devel \
|
|
|
|
|
python-virtualenv \
|
|
|
|
|
gcc \
|
|
|
|
|
augeas-lenses \
|
|
|
|
|
libopenssl-devel \
|
|
|
|
|
libffi-devel \
|
2015-12-02 02:23:38 -05:00
|
|
|
ca-certificates
|
2015-12-02 02:01:22 -05:00
|
|
|
}
|