mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-23 06:25:38 +00:00
Resolve the issue where the rpmbuild directories are not created causing the build to fail. Pull in dependencies using the spec file
This commit is contained in:
@ -13,6 +13,8 @@ DIR=`dirname $0`
|
||||
DIR=`readlink -f $DIR`
|
||||
BUILDARCH=`uname -m`
|
||||
|
||||
rpmdev-setuptree
|
||||
|
||||
#For Openpower
|
||||
if [ $BUILDARCH = "ppc64le" ]; then
|
||||
BUILDARCH="ppc64"
|
||||
|
@ -4,7 +4,7 @@ Version: %{?version:%{version}}%{!?version:%(cat Version)}
|
||||
Release: %{?release:%{release}}%{!?release:%(cat Release)}
|
||||
Epoch: 1
|
||||
AutoReq: false
|
||||
Requires: ipmitool screen btrfs-progs lldpad rpm-build compat-libstdc++-33 mstflint xfsprogs nc reiserfs-utils
|
||||
Requires: ipmitool screen btrfs-progs lldpad rpm-build mstflint xfsprogs nc rpmdevtools libstdc++-devel pciutils bridge-utils ntp iprutils psmisc mdadm bind-utils dosfstools usbutils libusbx
|
||||
Prefix: /opt/xcat
|
||||
AutoProv: false
|
||||
|
||||
|
Reference in New Issue
Block a user