mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-27 19:59:19 +00:00
e9870f3ca7
Former-commit-id: f97369f6b6d762ee320b42acbb8cd3a942a99a44
19 lines
407 B
Plaintext
19 lines
407 B
Plaintext
#build steps:
|
|
1.
|
|
#cp ./grub2-res.tar.gz /root/rpmbuild/SOURCES/
|
|
2.
|
|
rpmbuild -bb ./grub2-xcat.spec
|
|
|
|
|
|
#notes:
|
|
1.the grub2-res.tar.gz is generated by:
|
|
run the following cmd on a RHEL7-PPC64 node:
|
|
#grub2-mknetdir --net-directory=/tftpboot/
|
|
#cd /tftpboot/boot/grub2/
|
|
#tar -czvf /tmp/grub2-res.tar.gz ./powerpc-ieee1275/
|
|
|
|
|
|
|
|
|
|
2.Please update the %version or %release when any modification is made for the files
|