mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-23 10:01:46 +00:00
14 lines
317 B
Plaintext
14 lines
317 B
Plaintext
|
#build steps:
|
||
|
1.
|
||
|
#cp ./grub2-res.tar.gz /root/rpmbuild/SOURCES/
|
||
|
2.
|
||
|
rpmbuild -bb ./grub2-xcat.spec
|
||
|
|
||
|
|
||
|
#notes:
|
||
|
the grub2-res.tar.gz is generated by:
|
||
|
1.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/
|