mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-22 09:32:27 +00:00
1361332d6e
xCAT-server Requires: grub2-xcat >= 2.02-0.76.el7.1.snap201905160255, but the el10 rewrite reset grub2-xcat to Version 1.0 -- which can never satisfy that. Add Epoch: 1 so 1:1.0-2 outranks 0:2.02 and the (unchanged) xCAT-server dependency resolves. Also stop pinning the upstream grub2 source rpm URL (the distro rolls grub2 forward and prunes the old src.rpm from the mirror -> 404). grub2-xcat/mockbuild.pl now resolves the current grub2 source rpm URL via dnf (download --source --url, then repoquery --location) unless --upstream-url is given. 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