vm_setup: Add dedicated source for pacman
Change-Id: Ied0fbf5251b3fc3f1a6a1b5731958ffebed5e0d0 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2520 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
16f36c7b88
commit
ec43840112
62
test/common/config/pkgdep/pacman
Normal file
62
test/common/config/pkgdep/pacman
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
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
|
||||||
|
)
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# These are either missing or require some other installation method
|
||||||
|
# than pacman:
|
||||||
|
# librbd-devel
|
||||||
|
# perl-open
|
||||||
|
# targetcli
|
Loading…
Reference in New Issue
Block a user