2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-07-31 18:19:40 +00:00
Commit Graph

109 Commits

Author SHA1 Message Date
Daniel Hilst 529c821177 fix(packaging): install-time DHCP rich dep + genesis-base out of flat core
The single flat xcat-core repo serves el8/el9/el10 from one build, but two spec
decisions were resolved at BUILD time and so were wrong for the other ELs that
share the same repo.

1. DHCP backend. xCAT.spec and xCATsn.spec selected the dhcp provider with a
   build-time %if (rhel >= 10 -> kea, else dhcpd), so an el10 build wrongly
   required kea on el8/el9 (and an el8/el9 build wrongly required dhcpd on
   el10). Replace it with an install-time RPM rich dependency:

     Requires: (kea if (system-release >= 10) else /usr/sbin/dhcpd)
     Requires: (kea-hooks if (system-release >= 10))

   dnf now resolves it per client: kea on el10+ (which dropped ISC dhcp from the
   distro), dhcpd on el8/el9. SLES has no "system-release" provide, so the
   condition is false there and it falls back to /usr/sbin/dhcpd, preserving
   prior behavior. system-release is versioned per release package
   (el10=10.x, el9=9.x, el8=8.x).

2. openssl. Make the xCAT-server openssl Requires uniform across EL (non-SUSE)
   instead of el10-only, so the produced package set does not depend on which EL
   the build host happened to be.

Also drop xCAT-genesis-base from the default @PACKAGES set in buildrpms.pl: its
initramfs bundles the build-chroot kernel/glibc and is therefore OS- and
arch-dependent, so it cannot ship in the single flat core. It is now built per
target by the xcat-dep pipeline (mockbuild-all.pl, via
`buildrpms.pl --package xCAT-genesis-base`) and ships in xcat-dep/rh<N>. The
explicit `--package xCAT-genesis-base` build path is retained.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-30 19:19:33 -03:00
Daniel Hilst 638f0d75c4 Fix xCAT 2.18 EL10 x86_64 package build issues
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-20 18:48:14 -03:00
Vinícius Ferrão 6f3d9bb9d1 Add Kea DHCP backend 2026-04-23 02:01:33 -03:00
Daniel Hilst Selli d7e8ec9607 fix: Pull xCAT-genesis-scripts based on the arch
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-18 18:22:37 -03:00
Daniel Hilst Selli 4a1905171d fix: Fix genesis boot in ppc64le
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-11 09:32:35 -03:00
Mark Gurevich d30f35da55 Update required goconserver version for xCAT 2.16.1 2020-11-03 15:39:11 -05:00
cxhong d1e642c54c Revert "Remove perl-IO-Stty requirement from xCAT spec" 2020-03-20 16:57:32 -04:00
cxhong 8ac03366a8 Remove perl-IO-Stty requirement from xCAT spec 2019-12-05 15:56:32 -05:00
GONG Jie 5368829ded Remove conserver-xcat from RPM requirements 2019-04-18 16:59:32 +08:00
Gᴏɴɢ Jie 9d98236dc1 [RH8] RHEL 8 Service node automatic installation (#6041)
* Update tftp dependency

* Update service node package lists for RHEL 8

* Fix typo in `Configure PostgreSQL' page

* Rewrite the description of package xCATsn
2019-03-01 16:00:03 +08:00
Victor Hu 88925f99a8 Reverse installing xCAT-openbmc-py by default so we can require python dependencies 2018-03-08 15:21:26 -05:00
zet809 a6441554a8 Merge pull request #4790 from neo954/packaging
Add package dependency for goconserver
2018-03-05 12:48:36 +08:00
Victor Hu c3a36f0e7e For ppc64le platforms, install xCAT-openbmc-py 2018-03-02 13:53:24 -05:00
GONG Jie dbba432208 Add package dependency for goconserver 2018-02-05 16:03:41 +08:00
Gᴏɴɢ Jie 55b2b1e61c Revert patch 8d06fe1195 on xCAT/xCAT.spec and xCATsn/xCATsn.spec (#4783) 2018-02-01 22:49:31 -06:00
GONG Jie 8d06fe1195 Add package dependency dependency for goconserver 2018-01-31 13:59:30 +08:00
Bin Xu ab3dc751d7 More strict check to tell if it is a chroot env to avoid modify DB (#4463)
when genimage for SN image (#4365)
2017-12-07 00:51:44 -06:00
Chuck Brazie c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
yangsong a183e3b8f2 support local syslog:1)ship logrotate and log filter rule files in xCATsn;2)refine syslog script to enable log filter and rotate rules (#3921) 2017-09-15 16:03:43 +08:00
Chuck Brazie 1166d003ad remove elilo from spec files, remove aa from line 277 in
zvmdiagnostics.pm

Change-Id: Ifb2ee4200ccc9d8294764609904ac9d0ab555f7c
2017-02-24 14:02:49 -05:00
GONG Jie 398494a32c Fix typo. Remove unused lines. 2017-01-05 11:07:45 +08:00
GONG Jie 65c2911888 Make all the rpm packages have the exactly same version and release numbers 2017-01-03 12:47:14 +08:00
chenglch 843fee9ad3 Modify build spec to require ipmitool-xcat-1.8.17-1 2016-11-10 10:44:03 +08:00
Patrick Lundgren 8b1d06060e Modified spec files to require ipmitool-xcat 1.8.17, so "yum update *xCAT*" will pull in ipmitool-xcat-1.8.17 2016-10-25 15:19:24 -04:00
Jarrod Johnson edb1d181e9 Provide hook for saner versioning
The traditional approach was not adequately
hooked into git.  It should do nothing by
default differently.
2016-09-28 08:43:35 -04:00
immarvin a69f040bef add syslinux-xcat and xnba-undi to the dependency of xCAT and xCATsn to support mixed cluster 2016-09-14 04:55:20 -04:00
hu-weihua d7a683b200 fix probe bugs 2016-08-15 04:10:50 -04:00
ertaozh 8b5f44c44a Modify xcat-genesis-script pkg name for ubuntu 2016-08-10 01:23:06 -04:00
ertaozh 65bfb783d2 modify xcat to depended on ipmitool-xcat-1.8.15-2 and higher 2016-07-18 01:53:00 -04:00
Victor Hu 3216161426 For xCAT 2.11, update the ipmitool-xcat requires to 1.8.11 for x86_64
and 1.8.15 for ppc64le.  1.8.15 is required for OpenPower boxes
2016-05-11 09:34:48 -04:00
immarvin d7d0e62911 fix defect [fvt]2.11:xcatsn installation error in rhels7.2 #488 2015-11-27 04:49:12 -05:00
Victor Hu 8fe3ce628f Added the check for rsyslog and to kill that process to xCATsn 2015-10-13 07:54:59 -04:00
Casandra Qiu 896877deb7 Bug #4642 httpd didn't start up for rhels7.1 diskless server node 2015-04-15 14:08:40 -04:00
ligc b8bd2acad8 SLES12 ppc64le support: build ppc64le RPMs 2013-11-07 09:05:46 +08:00
lissav c220404af1 defect 4171 2014-06-25 07:10:11 -04:00
immarvin 539feaca28 add systemctl support for xCAT-sn 2014-06-09 09:01:44 -07:00
immarvin 6374c80de3 correct xCATsn.spec to support apache2/httpd 2.4.x 2014-05-29 02:55:36 -07:00
Bruce Potter 7040aebf37 require perl-IO-Stty on x86_64 too, in case managing ppc64 nodes 2013-10-15 20:44:05 -04:00
bp-sawyers fd4a5040ba fix xCATsn install problem running mknb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 23:04:36 +00:00
bp-sawyers 27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
jjhua 132e4cc493 fixed bug 3268, add the templates directory into the xCATsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-31 05:04:33 +00:00
daniceexi e869f87935 defect 3213: sync the fix that moving pid location from /tmp/xcat to /var/run/xcat to xCATsn.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:22:48 +00:00
ligc a920f9f5bb remove yaboot-xcat dependency from xCAT.spec and xCATsn.spec, Xu Qing already did this for Ubuntu and Debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 08:14:20 +00:00
lissav d5e7813365 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:27:56 +00:00
lissav c756bf2cf3 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:06:25 +00:00
bp-sawyers 94e0a7e615 Added the requires for perl-IO-Stty back in for ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 22:27:29 +00:00
bp-sawyers ccf2ac78b5 Fixed build problem on aix with xCAT and xCATsn spec files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 13:05:01 +00:00
bp-sawyers 9016681347 Add subset build of xcat for pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 21:47:50 +00:00
bp-sawyers 34c4df71cd add genesis and elilo requires to xCATsn and straighten out XML requires
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:12:25 +00:00
bp-sawyers 0304f09112 remove require for perl-IO-Stty
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 17:18:39 +00:00