2020-05-18 14:52:33 +00:00
|
|
|
package_manager=pacman
|
|
|
|
|
|
|
|
upgrade() {
|
|
|
|
sudo "$package_manager" -Syu --noconfirm --needed
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
(($#)) || return 0
|
|
|
|
|
|
|
|
sudo "$package_manager" -Sy --noconfirm --needed "$@"
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
if [[ $INTSALL_TSOCKS == true ]]; then
|
|
|
|
install tsocks
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
packages=(
|
|
|
|
valgrind
|
|
|
|
jq
|
|
|
|
nvme-cli
|
|
|
|
ceph
|
|
|
|
gdb
|
|
|
|
fio
|
|
|
|
linux-headers
|
|
|
|
gflags
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
libutil-linux
|
|
|
|
libiscsi
|
|
|
|
open-isns
|
|
|
|
glib2
|
|
|
|
pixman
|
|
|
|
flex
|
|
|
|
bison
|
|
|
|
elfutils
|
|
|
|
libelf
|
|
|
|
astyle
|
|
|
|
gptfdisk
|
|
|
|
socat
|
|
|
|
sshfs
|
|
|
|
sshpass
|
|
|
|
python-pandas
|
|
|
|
btrfs-progs
|
|
|
|
iptables
|
|
|
|
clang
|
|
|
|
bc
|
|
|
|
perl-switch
|
|
|
|
open-iscsi
|
|
|
|
smartmontools
|
|
|
|
parted
|
|
|
|
wget
|
2020-06-17 10:24:59 +00:00
|
|
|
xfsprogs
|
2020-05-18 14:52:33 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# TODO:
|
|
|
|
# These are either missing or require some other installation method
|
|
|
|
# than pacman:
|
|
|
|
# librbd-devel
|
|
|
|
# perl-open
|
|
|
|
# targetcli
|