mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
c70e09ceeb
The elilo, ipmitool and syslinux builders each fetched their upstream source and rewrote the tracked source tarball in place, inside the package source directory that both arch builds share. When the two per-arch builds run in parallel they were racing to fetch the source: one build truncated and rewrote the tarball while the other read it, so the reader got a truncated archive and failed intermittently with "missing top-level tree" errors. The correct, normalized source is already tracked in the repository and is what mock consumes, so the fetch is redundant as well as unsafe. Drop the download/normalize entirely and verify the tracked source read-only (it exists and has the expected top-level tree). With no writer, the shared source is only ever read, so parallel per-arch builds can no longer race on it. Also removes the now-dead --source-url / --skip-upstream-download options, the normalize helper, and the wget dependency check. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
To build elilo-xcat RPM: ------------------------ 1. Login to RHEL7.6 x86 node 2. yum install git 3. git clone https://github.com/xcat2/xcat-dep 4. cd xcat-dep/elilo 5. yum install gcc 6. yum install ./gnu-efi-3.0g-2.el6.x86_64.rpm 7. cp elilo-xcat.spec /root/rpmbuild/SPECS 8. cp elilo-3.14-source.tar.gz /root/rpmbuild/SOURCES 9. cp *.patch /root/rpmbuild/SOURCES 10. rpmbuild -ba /root/rpmbuild/SPECS/elilo-xcat.spec 11. Verify contents with rpm -qlp /root/rpmbuild/RPMS/noarch/elilo-xcat-3.14-6.noarch.rpm To build elilo-xcat DEB: ------------------------ 1. Login to Ubuntu x86 node 2. git clone https://github.com/xcat2/xcat-dep 3. cd xcat-dep/elilo 4. apt install quilt 5. apt install ./gnu-efi_3.0v-5_amd64.deb 6. ./make_deb.sh 7. Verify contents with dpkg -c <deb file>