2014-11-28 09:38:17 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
Name: grub2-xcat
|
2015-05-11 14:00:51 +00:00
|
|
|
Version: ###<<<GRUB2VERSION>>>###
|
|
|
|
Release: ###<<<GRUB2RELEASE>>>###.###<<<BUILD>>>###
|
2014-11-28 09:38:17 +00:00
|
|
|
Summary: grub2 resources generated by grub2-mknetdir
|
|
|
|
License: GPLv3+
|
|
|
|
Distribution: Slackware/tarball
|
|
|
|
Group: Applications/System
|
|
|
|
Packager: IBM Corp.
|
|
|
|
Vendor: IBM Corp.
|
2015-06-09 05:36:54 +00:00
|
|
|
URL:http://www.gnu.org/software/grub/
|
2014-11-28 09:38:17 +00:00
|
|
|
|
|
|
|
%define _rpmdir ../
|
|
|
|
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
|
|
|
|
%define _binaries_in_noarch_packages_terminate_build 0
|
|
|
|
|
|
|
|
%description
|
|
|
|
grub2-xcat provides some grub2 resources generated by grub2-mknetdir,including grub2 modules and grub2 image.
|
2015-05-11 14:00:51 +00:00
|
|
|
The grub2 resource is built based on ###<<<SRCRPM>>>### with grub2-xcat(git hash:###<<<GITHASH>>>###) in xcat-dep
|
2014-11-28 09:38:17 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
%post
|
|
|
|
ln -f /tftpboot/boot/grub2/powerpc-ieee1275/core.elf /tftpboot/boot/grub2/grub2.ppc
|
|
|
|
exit 0
|
|
|
|
%preun
|
|
|
|
[ "$1" = "0" ] && rm -f /tftpboot/boot/grub2/grub2.ppc
|
|
|
|
exit 0
|