2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-09-12 04:26:25 +00:00
Files
xcat-dep/elilo
Daniel Hilst 5addcaa976 fix(xcat-dep): drop host-install smoke; fix ppc mock-root collision
PR #62 review raised two build-side problems:

1. The child builders installed each freshly built RPM onto the build host
   ("dnf -y install" + a run smoke). Because mockbuild-all builds el8/el9/el10
   on one host, this installs a foreign-EL RPM into the host RPM database and
   corrupts it. The real install-and-run verification already happens in the CI
   Test phase (cluster-test.pl boots a matching MN and installs xCAT + the
   freshly built xcat-dep there), so the host-side smoke was redundant. Remove
   the install/smoke step from every builder and the perl aggregate builder, and
   drop the now-dead --skip-install flag (builders, mockbuild-all.pl, and the
   pipeline invocations). The perl builder's --jobs 1 throttle existed only to
   avoid host dnf-lock contention during that install, so it goes too (perl
   packages build in parallel again). Also drop goconserver's now-unused run_rc.

2. build_mock_uniqueext truncated the run id by keeping the LAST 24 chars, which
   for the 7-char "ppc64le" arch dropped the leading EL digit -- so
   alma+epel-{8,9,10}-ppc64le collapsed to the same run part. goconserver
   compiles every EL in the el10 chroot (build_cfg rewritten to -10-), so the
   chroot name is identical across the three ELs and the uniqueext was the only
   thing keeping their mock roots apart: with parallel targets the three ppc
   goconserver builds raced in one root. Keep a readable leading token AND append
   a short digest of the full id so distinct ids always yield distinct uniqueext.
   Moved the helper into MockBuildUtils.pm and added fixtures (distinct per EL on
   a long run id, both arches, determinism).

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-08-21 18:42:28 -03:00
..
2011-08-19 18:25:10 +00:00
2011-09-29 19:42:03 +00:00
2026-06-20 17:28:16 -03:00

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>