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

17 Commits

Author SHA1 Message Date
Daniel Hilst fbb89eff2a fix(grub2-xcat): drop unused grub2 src.rpm download that broke the build
grub2-xcat/mockbuild.pl fetched a grub2 source RPM before building, and that
fetch was the only failing step (the pinned CentOS Stream URL now 404s, and the
dynamic dnf fallback is fragile on EL10). The download is dead weight: the
package is a pure noarch repackaging of the committed grub2-res.tar.gz and the
mock build never consumed the src.rpm. Remove the resolve+download machinery.
Epoch: 1 stays so 1:1.0 satisfies xCAT-server's legacy >= 2.02 pin and upgrades
over old 0:2.02 remain clean.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-07-02 21:50:38 -03:00
Daniel Hilst 1361332d6e fix(grub2-xcat): epoch bump to satisfy xCAT-server; dynamic src.rpm URL
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>
2026-07-02 10:11:51 -03:00
Daniel Hilst 752fc237d3 fix: Add missing files
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-20 17:28:16 -03: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
Daniel Hilst 19c65dbec5 fix(deb): Port syslinux, elilo, grub2-xcat to modern Ubuntu toolchains
syslinux 3.86: add GCC 10+ -fcommon, GCC 15 -Wno-error flags, glibc
sysmacros.h include, vpd.c pointer fix, python2 menugen skip.

elilo-xcat: three patches for GCC 15 (bool keyword, StrnCpy conflict
with gnu-efi 4.0) and binutils 2.46 (objcopy efi-app format removed).
Bump debhelper compat 5→10, fix changelog maintainer emails.

grub2-xcat: bump DH_COMPAT 5→8, add make_deb.sh.
2026-06-20 17:28:16 -03:00
Daniel Hilst Selli c47315a138 fix: Fix build for goconserver grub2-xcat and syslinux
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-04-14 11:04:46 -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
immarvin 22152e9817 update versin&release since the elf.mod has been updated to support ppc64le[ubuntu]
Former-commit-id: 08993b1f714ede4f5f76c4ac5203e233270c9932
2014-11-14 00:41:28 -08:00
immarvin e9870f3ca7 update versin&release since the elf.mod has been updated to support ppc64le
Former-commit-id: f97369f6b6d762ee320b42acbb8cd3a942a99a44
2014-11-13 23:57:00 -08:00
immarvin a5e39c4dfe add packaging script for grub2-xcat
Former-commit-id: ac9320bd1f23727d92e8e499dc9f649644366aa5
2014-11-06 00:01:14 -08:00
immarvin 58635282dd update elf.mod with the one works on ppc64le
Former-commit-id: 772b75d8817bc114dba35ca03b9a86ab186db878
2014-10-12 22:39:41 -07:00
immarvin b77214f345 add debian packaging stuff
Former-commit-id: 5c33183ff85bfc046afb5a346b05ea95f19d5deb
2014-09-17 23:33:27 -07:00
immarvin a356c3097c correct the license to GPLv3+ since grub2/grub2-tools shipped in fedora is GPLv3+
Former-commit-id: 08dc40ab2463d358b788ca03a82c89b57d112793
2014-06-05 02:43:25 -07:00
immarvin 9f30045db7 fix defect #4105 [DEV] grub2-xcat can not be shipped in xCAT 2.8.4,replace the grub2 resources with the grub2 shipped in fedora20
Former-commit-id: 518bfb78dab40627ba67ac27ca58ea26857c5469
2014-05-26 20:30:57 -07:00
immarvin d0cb83325b update the grub2 resource shipped in rhels7 RC2
Former-commit-id: ca65790163cb8f30483916c6a1c50f8921a1c930
2014-04-22 02:26:19 -07:00
immarvin f1f64786ed fix defect #4056 [xCAT-DEV]tftp downlod the symbol link grub2.ppc itself instead of the target binary
Former-commit-id: 9feab03bc82d370b79af94c167a8e536726ec854
2014-04-11 09:54:20 -07:00
immarvin 2d595a0488 grub2-xcat build staff
Former-commit-id: 3fc7c33336756c6bff883e992021db8ae523a43f
2014-04-04 01:09:51 -07:00