mirror of
https://github.com/dynup/kpatch
synced 2025-02-07 04:31:33 +00:00
drop unused rpmdevtools dependency
It appears that since 0dec5136ee
nothing
has been used from the rpmdevtools package by kpatch-build.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
parent
d2fba54b42
commit
ff5c554a40
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user