2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-09-11 20:16:26 +00:00
Files
Daniel Hilst c4c9492e57 fix(xcat-dep): merge master after the riscv64 and Ubuntu builds landed
Master gained the EL10 riscv64 forcearch target (PR #66) and the Perl Ubuntu
build (PR #63). Both touch the files this branch rewrites, so the merge is
resolved per file:

mockbuild-all.pl, mockbuild-perl-packages.pl keep the forcearch target profile,
the noarch chroot and --epel-gap from master, and this branch's manifest gate,
atomic per-cell deploy and per-package chroot scrub. assert_required_deps is
dropped: verify_target_repo replaced it. The post-join bootstrap scrub now reads
the uniqueext and the config recorded when the chroot was made, because the wave
loop of master no longer numbers packages in @packages order.

packages-manifest.conf gains a [rocky-10-riscv64-xcat] section. A target with no
section is fatal, so without it the riscv64 target cannot run.

goconserver/mockbuild.pl builds in the mock chroot for the host arch and cross-
compiles on the host for a foreign --target-arch. A forcearch chroot would run
the Go toolchain under qemu. Both paths overlay the pinned go.mod/go.sum and
ship server.conf as YAML.

The host-install smoke stays removed (it corrupts the build host rpm database).
The checks that do not install on the host are kept: the chroot install of a
cross-built ipmitool-xcat and XS perl module, and the binfmt run of the cross-
built goconserver binaries.

goconserver/gomod/ takes the pin of master, whose `go` directive is the lower of
the two, so both the EL10 chroot and the Ubuntu sbuild toolchain accept it.

t/genesis_openembedded_consumer.t: the skip count of the RPM block is 64, the
number of tests it runs. Both sides carried a stale number.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-02 09:39:55 -03:00
..
2011-08-19 18:25:10 +00:00
2011-09-29 19:42:03 +00: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:
------------------------
The Ubuntu/Debian build is now driven by the top-level sbuild-all.pl orchestrator, which builds
each package inside the matching <codename>-<arch>-sbuild chroot from its maintained debian/
packaging (build-deps such as quilt are installed inside the chroot automatically). The former
./make_deb.sh has been removed.

1. Login to an Ubuntu x86 build host
2. git clone https://github.com/xcat2/xcat-dep; cd xcat-dep
3. Build every package for a codename:  ./sbuild-all.pl --arch amd64 --dists noble
   or this package alone:                ./elilo/sbuild.pl --codename noble --arch amd64 --result-dir <dir>
4. Verify contents with dpkg -c <deb file>