rpmbuild: Pick proper arch for the final RPM location
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I7a0ca2e155c37d93c89bc61ff0da52cc30af572e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16310 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
This commit is contained in:
parent
45b83b9743
commit
8edf134a99
@ -23,7 +23,7 @@ export MAKEFLAGS BUILDDIR DEPS
|
||||
install_uninstall_rpms() {
|
||||
local rpms
|
||||
|
||||
rpms=("${1:-$builddir/rpm/}/x86_64/"*.rpm)
|
||||
rpms=("${1:-$builddir/rpm/}/$(uname -m)/"*.rpm)
|
||||
|
||||
sudo rpm -i "${rpms[@]}"
|
||||
# Check if we can find one of the apps in the PATH now and verify if it doesn't miss
|
||||
|
Loading…
Reference in New Issue
Block a user