mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Unlike "which", which is a separate executable not always installed by
default, "command -v" is a shell built-in available at least for bash,
dash, and busybox shell.
Unlike "which", "command -v" is also easier to grep for, and it is
already used in a few places here.
Inspired by commit 57251d811.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
21 lines
347 B
Bash
Executable file
21 lines
347 B
Bash
Executable file
#!/bin/bash
|
|
set -e -x
|
|
|
|
contrib/dependencies/dnf-packages.sh
|
|
dnf install -y \
|
|
diffutils \
|
|
e2fsprogs \
|
|
findutils \
|
|
gawk \
|
|
gzip \
|
|
kmod \
|
|
libselinux-utils \
|
|
procps-ng \
|
|
python3-pip \
|
|
python-unversioned-command \
|
|
redhat-rpm-config \
|
|
sudo \
|
|
tar
|
|
|
|
# /tmp is no longer 755 in the rawhide container image and breaks CI - fix it
|
|
chmod 1777 /tmp
|