mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 04:26:25 +00:00
fbb89eff2a
grub2-xcat/mockbuild.pl fetched a grub2 source RPM before building, and that fetch was the only failing step (the pinned CentOS Stream URL now 404s, and the dynamic dnf fallback is fragile on EL10). The download is dead weight: the package is a pure noarch repackaging of the committed grub2-res.tar.gz and the mock build never consumed the src.rpm. Remove the resolve+download machinery. Epoch: 1 stays so 1:1.0 satisfies xCAT-server's legacy >= 2.02 pin and upgrades over old 0:2.02 remain clean. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
#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