mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-28 12:19:35 +00:00
d6a11058b9
Former-commit-id: 977dab7e22680e0c49a28ceba8ecb5f0a8f59e0d
52 lines
1.1 KiB
RPMSpec
52 lines
1.1 KiB
RPMSpec
Name: esxboot-xcat
|
|
Version: 1.0.0
|
|
Release: 2
|
|
Summary: xCAT patched variant of vmware's boot loader
|
|
|
|
Group: System Environment/Kernel
|
|
License: GPL
|
|
URL: http://www.vmware.com/download/open_source.html
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%define Distribution %(rpm -q -qf /etc/redhat-release --qf '%%{name}' | cut -d"-" -f 1)
|
|
%define os_version %(rpm -q --qf '%%{version}' %{Distribution}-release)
|
|
%define os_release %(rpm -q --qf '%%{release}' %{Distribution}-release | cut -d"." -f 1)
|
|
|
|
|
|
Source0: efiboot-1.0.0-395084.oss.tgz
|
|
Patch: esxboot-xcat.patch
|
|
|
|
%description
|
|
This is the open source VMware boot loader, patched with features and fixes appropriate for xCAT's use.
|
|
|
|
%prep
|
|
|
|
%setup -c
|
|
%patch -p1
|
|
|
|
%build
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
./configure
|
|
make -f Makefile.main BUILDENV=uefi64
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/tftpboot/xcat
|
|
cp build/uefi64/esxboot/esxboot_x64.efi %{buildroot}/tftpboot/xcat/esxboot-x64.efi
|
|
|
|
|
|
%post
|
|
|
|
%preun
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
/tftpboot/xcat/esxboot-x64.efi
|
|
%changelog
|