forked from xcat2/xcat-dep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaboot-xcat.spec
50 lines (39 loc) · 935 Bytes
/
yaboot-xcat.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%define pkg yaboot-xcat
%define ver 1.3.17
Summary: yaboot binary for tftp server
%define _binary_payload w9.bzdio
%define _binaries_in_noarch_packages_terminate_build 0
Name: %{pkg}
Version: %{ver}
Release: rc1
Group: System/Administration
License: GPL2
URL: http://yaboot.ozlabs.org/
Source: yaboot-%{ver}-rc1.tar.gz
Patch0: yaboot-32bitbuild.patch
#Patch1: yaboot-debug.patch
#Patch2: yaboot-move_kernel.patch
Patch3: yaboot-sanedhcppriority.patch
Patch4: yaboot-promclaim.patch
BuildRoot: %{_tmppath}/%{pkg}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
%description
This is a version of yaboot to facilitate an xCAT management node to boot
ppc nodes.
%prep
%{__rm} -rf %{buildroot}
%setup -q -n yaboot-%{ver}-rc1
%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
make
%install
mkdir -p %{buildroot}/tftpboot/
cp second/yaboot %{buildroot}/tftpboot/
%files
%defattr(-,root,root)
/tftpboot/yaboot