Merge pull request #806 from cardoe/drop-rpmdevtools

drop unused rpmdevtools dependency
This commit is contained in:
Josh Poimboeuf 2018-03-21 22:34:03 -05:00 committed by GitHub
commit fefa67554b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 7 deletions

View File

@ -40,7 +40,7 @@ sudo dnf install gcc kernel-devel-${UNAME%.*} elfutils elfutils-devel
Install the dependencies for the "kpatch-build" command:
```bash
sudo dnf install rpmdevtools pesign yum-utils openssl wget numactl-devel
sudo dnf install pesign yum-utils openssl wget numactl-devel
sudo dnf builddep kernel-${UNAME%.*}
sudo dnf debuginfo-install kernel-${UNAME%.*}
@ -68,7 +68,7 @@ Install the dependencies for the "kpatch-build" command:
```bash
sudo yum-config-manager --enable rhel-7-server-optional-rpms
sudo yum install rpmdevtools pesign yum-utils zlib-devel \
sudo yum install pesign yum-utils zlib-devel \
binutils-devel newt-devel python-devel perl-ExtUtils-Embed \
audit-libs-devel numactl-devel pciutils-devel bison ncurses-devel
@ -98,7 +98,7 @@ sudo yum install gcc kernel-devel-${UNAME%.*} elfutils elfutils-devel
Install the dependencies for the "kpatch-build" command:
```bash
sudo yum install rpmdevtools pesign yum-utils zlib-devel \
sudo yum install pesign yum-utils zlib-devel \
binutils-devel newt-devel python-devel perl-ExtUtils-Embed \
audit-libs audit-libs-devel numactl-devel pciutils-devel bison
@ -131,7 +131,7 @@ sudo yum install gcc kernel-devel-${UNAME%.*} elfutils elfutils-devel
Install the dependencies for the "kpatch-build" command:
```bash
sudo yum install rpmdevtools pesign yum-utils zlib-devel \
sudo yum install pesign yum-utils zlib-devel \
binutils-devel newt-devel python-devel perl-ExtUtils-Embed \
audit-libs numactl-devel pciutils-devel bison

View File

@ -563,7 +563,6 @@ else
if [[ "$DISTRO" = fedora ]] || [[ "$DISTRO" = rhel ]] || [[ "$DISTRO" = ol ]] || [[ "$DISTRO" = centos ]]; then
echo "Fedora/Red Hat distribution detected"
rpm -q --quiet rpmdevtools || die "rpmdevtools not installed"
clean_cache

View File

@ -20,7 +20,7 @@ install_rpms() {
$sudo dnf install -y $* || $sudo dnf install -y $*
}
install_rpms gcc elfutils elfutils-devel rpmdevtools pesign openssl numactl-devel wget patchutils
install_rpms gcc elfutils elfutils-devel pesign openssl numactl-devel wget patchutils
$sudo dnf builddep -y kernel || $sudo dnf builddep -y kernel

View File

@ -20,7 +20,7 @@ install_rpms() {
$sudo dnf install -y $* || $sudo dnf install -y $*
}
install_rpms gcc elfutils elfutils-devel rpmdevtools pesign openssl numactl-devel wget patchutils
install_rpms gcc elfutils elfutils-devel pesign openssl numactl-devel wget patchutils
$sudo dnf builddep -y kernel || $sudo dnf builddep -y kernel