2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 01:21:44 +00:00
xcat-dep/grub2-xcat.recompile/grub2-xcat.spec.template
GONG Jie 71ed612e92 New facility used for compile and generate grub2-xcat rpm and deb from the source rpm package.
Former-commit-id: cb7885dffc71275bdb5370023e2792a5920f7b13
2014-11-28 04:38:17 -05:00

27 lines
689 B
Plaintext

BuildArch: noarch
Name: grub2-xcat
Version: 2.02
Release: 0.16.###<<<BUILD>>>###
Summary: grub2 resources generated by grub2-mknetdir
License: GPLv3+
Distribution: Slackware/tarball
Group: Applications/System
Packager: IBM Corp.
Vendor: IBM Corp.
%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.
%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