2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-20 17:32:15 +00:00
Files
xcat-core/xCATsn
Daniel Hilst 844a5ba350 fix(xcat-core): xCAT cannot be installed on either openSUSE node
Both openSUSE test cells fail the install step:

  leap15.6: nothing provides 'perl-DB_File' needed by xCAT-server
  sles12:   nothing provides (/usr/sbin/dhcpd if openEuler-release else
            ((kea and kea-hooks) if (system-release >= 10) else
            /usr/sbin/dhcpd)) needed by xCAT

Two requirements are written for EL and have no answer on openSUSE.

xCAT-server asks for perl-DB_File. No package of that name exists on Leap
15.6 or 42.3: 15.6 calls it perl-core-DB_File and 42.3 has neither. Both
provide the capability perl(DB_File), so openSUSE asks for the capability.

xCAT and xCATsn ask for dhcpd through a rich dependency. The sles12 cell is
an openSUSE 42.3 management node whose rpm is 4.11, which has no rich
dependencies and reports the whole expression as an unprovided capability.
Neither Leap release carries kea and both carry chrony and ISC dhcpd, so
openSUSE takes the plain names the expressions resolve to there anyway. One
core build serves both openSUSE cells, so the openSUSE branch must emit no
rich dependency at all.

Verified per platform with rpmspec. openSUSE now gets perl(DB_File),
/usr/sbin/dhcpd and chrony; EL9 keeps perl-DB_File and both expressions; EL10
keeps perl-DB_File as a Recommends; openEuler keeps both expressions.

xCAT-test/unit/opensuse_mn_requires.t fails on the commit before this one.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-26 10:22:32 -03:00
..
2010-01-22 19:16:25 +00:00