2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-09-12 12:36:23 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
Daniel Hilst 53fc261235 fix(xcat-dep): build every dep natively per arch; parallel-safe repos + genesis
mockbuild-all.pl treated xnba-undi/grub2-xcat as x86-only @SHARED_NOARCH imported
onto ppc, so an x86 build failure rippled into a fatal "grub2-xcat missing" on
ppc; both actually build on any arch (noarch repackaging of committed artifacts)
and xCAT requires them on ppc too. Un-gate xnba-undi and drop the import so each
host builds a complete, self-sufficient dep repo. Add a single --output that
re-roots all NFS-shared output plus a fail-fast lock at <output>/.lock (owner-pid
guarded so forked build children do not delete it). Default gpg-key-name to the
real "xCAT Signing Key" and --xcat-source to ../xcat-core.

Make concurrent builds safe: give the genesis buildrpms.pl its own HOME/rpmbuild
tree (a shared /root/rpmbuild raced across parallel targets), and nest the
xnba/goconserver rpmbuild dirs under the run-scoped --work-dir (they hard-coded
/var/tmp/xcat-rpmbuild-* and wiped each other). Add --parallel-targets/--max-parallel,
defaulting to serial since the per-package scripts still share repo tarballs under
full parallelism.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-07-03 00:51:25 +00:00
Daniel Hilst a2378ba780 build: Make builds deterministic
Port SOURCE_DATE_EPOCH patterns from xcat-core to all xcat-dep build
scripts. RPM and Debian packages now produce identical output given
the same Gitepoch timestamp, regardless of build host or time.

EL (RPM) changes:
- mockbuild-all.pl: --build-timestamp flag, deterministic run_id,
  tar --sort/--owner/--group/--mtime, createrepo --revision
- All mockbuild.pl: SOURCE_DATE_EPOCH cascade (CLI > Gitepoch > git > time),
  deterministic mock config with SOURCE_DATE_EPOCH in chroot env,
  RPM macros for timestamp clamping and fixed buildhost
- goconserver: -trimpath -buildvcs=false, canonical rpmbuild path
- xnba: canonical rpmbuild path
- syslinux: ZERO_AR_DATE=1 in mock env

Ubuntu (Debian) changes:
- All make_deb.sh: SOURCE_DATE_EPOCH fallback from Gitepoch
- goconserver: deterministic SNAP_TS and changelog from epoch,
  -trimpath -buildvcs=false in debian/rules
- syslinux: -fdebug-prefix-map for path-independent debug info
- build-apt-repo.sh: gzip -n, Release Date: from SOURCE_DATE_EPOCH

Verified: 31/33 package artifacts produce identical SHA256 hashes
across independent builds. 2 syslinux sub-packages (devel,
debugsource) have known limitations from upstream build system.
2026-06-20 17:28:16 -03:00
Vinícius Ferrão eeb06fbb42 fix: Resolve mock config for AlmaLinux and Rocky Linux builders
Auto-detection used OS ID directly (e.g. almalinux+epel-10-ppc64le)
but mock configs use short forms (alma+epel-10-ppc64le). Add
resolve_mock_cfg helper that tries the full ID first, then falls
back to known short forms.
2026-05-10 14:03:48 -03:00
Vinícius Ferrão 792179227b feat: Add xnba/mockbuild.pl for pre-built binary packaging
Package the existing pre-built xnba.kpxe and xnba.efi binaries into
an xnba-undi RPM via rpmbuild. These are iPXE-based network boot
agents that ship as pre-compiled firmware blobs.
2026-05-10 04:07:42 -03:00
Daniel Hilst Selli fdf8393a2b fix: Add scripts & patches for building in mock for EL10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-13 07:20:46 -03:00
Mark Gurevich 5217561470 Update README 2021-10-01 15:10:20 -04:00
Mark Gurevich 64d98810c5 Build new xnba-undi package based on ipxe version 1.21.1 2021-09-23 16:28:09 -04:00
Mark Gurevich 1a27740413 Update README 2021-06-22 14:43:36 -04:00
Mark Gurevich 9ea7adf92a Fix formatting of patch file to update splash version 2021-06-14 15:03:49 -04:00
Mark Gurevich a997028717 Make EXTRAVERSION -1 instead of + 2021-06-14 11:00:28 -04:00
Mark Gurevich c66df363ae Use correct patch number 2021-06-08 15:57:11 -04:00
Mark Gurevich ae90744fee Add binaries also 2021-06-08 15:55:16 -04:00
Mark Gurevich b49782536e Use snponly.efi instead of ipxe.efi 2021-06-08 15:36:26 -04:00
Mark Gurevich 0d879fd7b2 Update README 2021-02-01 13:55:53 -05:00
Mark Gurevich 3896e800fe Update README 2021-02-01 13:55:10 -05:00
Mark Gurevich e5395b48ba Update README 2021-02-01 13:54:26 -05:00
Mark Gurevich 722c32975a Update README 2021-02-01 12:31:22 -05:00
Mark Gurevich 2785c92d96 Update README 2021-02-01 12:08:43 -05:00
Mark Gurevich e373d433cb Update README 2021-02-01 11:31:44 -05:00
Mark Gurevich 8d37a77dd8 Update README
Updated build instructions
2021-02-01 10:40:13 -05:00
cxhong 03033021eb Modified README 2021-01-29 16:46:05 -05:00
cxhong 2dac6f315f update README 2020-11-12 14:47:42 -05:00
cxhong 1d6c551711 Add patches to source to build deb packages 2020-11-12 14:20:47 -05:00
cxhong 9d358873f3 Modification for debian build 2020-11-12 10:21:38 -05:00
cxhong 34783c8166 Add files to binary 2020-11-11 15:21:05 -05:00
cxhong ae63beceb5 change source name 2020-11-11 15:13:48 -05:00
cxhong 214eca4468 fix ipxe-dhcp.patch 2020-11-10 17:44:57 -05:00
cxhong 41f1a1ad6c Build xNBA based on source from ipxe.org on October 29th 2020 2020-11-10 16:02:09 -05:00
cxhong 7dca24aaf4 put xnba boot loader to binary dir 2020-11-09 11:15:34 -05:00
immarvin 42f718a176 enhance xnba build scripts to build xnba-undi package from existed binaries,modify the xnba to be arch independent package to support mixed cluster
Former-commit-id: e40c545260450a69138a509aa07a2184178f0f05
2014-11-12 00:22:23 -08:00
xq2005 bb3e2fbc6d change the Maintainer to xCAT when building dependecy packages on ubuntu
Former-commit-id: aedd3c83a50b1ef980fb56f33fed3f5308e9b5ef
2013-06-26 07:41:45 +00:00
xq2005 16c0794a03 do not signature the changefile and dsc file
Former-commit-id: 4af56e97cf8e0538620bbc7977887159df646786
2013-02-20 08:46:00 +00:00
xq2005 29b36cecaf use xnba directory to build xnba-undi on ubuntu
Former-commit-id: 0106626001a040023abbd08e0113e729866b9319
2012-12-26 08:44:52 +00:00
xq2005 3cc0052a45 use xnba directory to build xnba-undi on ubuntu
Former-commit-id: da2c4464600173dd2e2d5a8c51ab96ce017acc28
2012-12-26 08:42:45 +00:00
jbjohnso 1bcb32e9c7 Push spec file tweaks in place for current xnba builds
Former-commit-id: b579e4c6cf0f00281d2f0e1f64851fa97258b4a4
2012-02-25 17:08:11 +00:00
jbjohnso 781c1ed055 Redo xnba-undi.spec changes
Former-commit-id: c904040de202a5481942471ba8b4e50d32f8dac9
2012-01-04 20:53:57 +00:00
jbjohnso 4906c2acce No change
Former-commit-id: 48a92ef2fe644e9923185e6114778e028dc7ded3
2012-01-04 20:53:51 +00:00
jbjohnso 4051331a10 Tweaks. No longer tracking xnba source code in xcat-dep, src.rpm will have the exact source and git will hold the rest
Former-commit-id: 685ce1bf874984596951498290580e6dad6d4553
2011-12-15 18:53:27 +00:00
jbjohnso 7d7598c7d4 Add 1.0.3 snapshot to xcat-dep
Former-commit-id: 582072afa7dbfbdcde34a7dd2d35fa8aec3ab8ab
2011-09-20 15:37:57 +00:00
jbjohnso 6f9499845a Refresh to current ipxe tree, also fix 'machyp'
Former-commit-id: 10597a001377a87613b541769b538d0d56e9642a
2011-09-20 15:31:03 +00:00
jbjohnso b363ffd24d Move to using ipxe archived from the git repository, no patches in the spec file needed
Build UEFI compatible xNBA



Former-commit-id: d12444a30b83f7a267812d51b6330cf734be8cbf
2011-08-19 18:02:38 +00:00
jbjohnso 33f920505c -Change to build ipxe, will provide tar file of git snapshot
Former-commit-id: 13576432e6120c0c247d1c1a61ad7b557e33b65f
2011-05-24 19:30:40 +00:00
jbjohnso 99e83e3fd6 -Fix the patch to droppackets
-update spec file



Former-commit-id: 7a056d129cce80f05784f0c10c3b694f8ad8c65f
2010-11-12 20:29:34 +00:00
jbjohnso 51cc66ef02 -Smooth out gPXE->iPXE transition by having a version number that doesn't confuse people who don't care. iPXE will catch up (hopefully) and all will be sane one day again.
Former-commit-id: 8684ffa2d548c25444776be1ef24be89c9579e20
2010-11-12 16:15:38 +00:00
jbjohnso 762eac86ca -Restructure ipxe content to xnba directory (in case it ever flips back to gpxe, the name will stay consistent
Former-commit-id: 0b25122871a4c2eb75e734b462503472c447bbde
2010-11-12 16:03:31 +00:00