mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 03:02:05 +00:00
Support building genesis-base on Fedora34
This commit is contained in:
parent
100f455215
commit
d19f2bb0e3
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
VER=`git describe`
|
||||
VER=`cat Version`
|
||||
VER=${VER/-/.post}
|
||||
VER=${VER/-/.}
|
||||
rpmbuild --version > /dev/null
|
||||
|
@ -12,7 +12,7 @@ DIR=`dirname $0`
|
||||
#DIR=`realpath $DIR`
|
||||
DIR=`readlink -f $DIR`
|
||||
BUILDARCH=`uname -m`
|
||||
REQUIRED_PACKAGES="rpmdevtools rpm-build screen lldpad mstflint epel-release ipmitool pciutils mdadm dosfstools usbutils bind-utils psmisc nmap-ncat"
|
||||
REQUIRED_PACKAGES="rpmdevtools rpm-build screen lldpad mstflint epel-release ipmitool pciutils mdadm dosfstools usbutils bind-utils psmisc nmap-ncat ethtool kexec-tools"
|
||||
|
||||
# Install required packages
|
||||
for required_package in $REQUIRED_PACKAGES; do
|
||||
|
@ -12,6 +12,8 @@ Release: %{?release:%{release}}%{!?release:snap%(date +"%Y%m%d%H%M")}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%define name xCAT-genesis-base-%{tarch}
|
||||
# Use xz compression instead of default gzip on Fedora34
|
||||
%define _binary_payload w7.xzdio
|
||||
%define __spec_install_post :
|
||||
%define debug_package %{nil}
|
||||
%define __prelink_undo_cmd %{nil}
|
||||
|
Loading…
x
Reference in New Issue
Block a user