2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 17:11:45 +00:00
xcat-dep/grub2-xcat.recompile/grub2-xcat.spec.template
root a7aa386b29 use cp instead of ln during packaging;add more package info to the grub2-xcat rpm
Former-commit-id: 918a3e2a1ea5954b589c003bc56d912f7a215473
2015-05-11 10:00:51 -04:00

28 lines
844 B
Plaintext

BuildArch: noarch
Name: grub2-xcat
Version: ###<<<GRUB2VERSION>>>###
Release: ###<<<GRUB2RELEASE>>>###.###<<<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.
The grub2 resource is built based on ###<<<SRCRPM>>>### with grub2-xcat(git hash:###<<<GITHASH>>>###) in xcat-dep
%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