mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-25 11:00:07 +00:00
71ed612e92
Former-commit-id: cb7885dffc71275bdb5370023e2792a5920f7b13
27 lines
689 B
Plaintext
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
|