2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-21 16:39:30 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Hilst 6798db5fb7 fix(xcat-core): the Debian genesis dependency ignores the node architecture
A ppc64el or riscv64 management node installs the amd64 Genesis. xCAT and
xCATsn declare Architecture: amd64 ppc64el riscv64 and one unrestricted
Depends: xcat-genesis-scripts-amd64, so every architecture gets it. That
package is Architecture: all, so apt reports no error. It lays down
/opt/xcat/share/xcat/netboot/genesis/x86_64 and pulls the 128 MB
xcat-genesis-base-amd64, and the node receives no Genesis for its own
architecture. xcat-genesis-scripts-ppc64, the package that would carry it, is
uninstallable: it depends on xcat-genesis-base-ppc64, and builddeb-genesis-base
names the ppc64el base deb xcat-genesis-base-ppc64el.

xCAT/debian/control and xCATsn/debian/control now restrict the dependency by
architecture, the way xCAT.spec does with
%{?genesistarch:Requires: xCAT-genesis-scripts-%{genesistarch}}. amd64 gets
xcat-genesis-scripts-amd64, ppc64el gets xcat-genesis-scripts-ppc64el, and
riscv64 gets neither, because its Genesis is the OpenEmbedded image.
xCAT-genesis-scripts/debian/control-ppc64el builds xcat-genesis-scripts-ppc64el
and depends on xcat-genesis-base-ppc64el. It conflicts with and replaces the
old name, which shares the same files.

debian_control_arch_coverage.t asserts the genesis scripts an architecture
receives are that architecture's own, and that control-<arch> builds
xcat-genesis-scripts-<arch> against xcat-genesis-base-<arch>. Eight of its
assertions fail without this change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-04 19:51:18 -03:00
ertaozh a2d2ed1d34 From 2.13.10, the genesis scripts is moved to usr/bin or usr/sbin 2018-01-17 03:41:35 -05:00
ertaozh 5323cd4f64 To have xcat-genesis-script depended on xcat-genesis-base 2.13.2 2017-02-21 03:23:43 -05:00
neo954 327db76f9e Make all the deb packages have the exactly same version and release numbers 2017-01-03 12:56:15 +08:00
ertaozh 40e9608cf4 To have xcat-genesis-script depended on xcat-genesis-base 2.13.0 or higher 2016-12-07 02:10:32 -05:00
zet809 20fb5d8d98 Remove provides section from xCAT-genesis-scripts/debian/cotrol file (#1581) 2016-07-25 04:17:37 -05:00
zet809 554cdb9a56 Fix xCAT-genesis-scripts/debian/control
Fix the issue that build xcat-genesis-scripts-ppc64 failed on ubuntu.
2016-07-25 15:31:49 +08:00
ertaozh f14f9d8a9c Modify conflict xcat-genesis-scripts-x86-64 and xcat-genesis-scripts-ppc64 with xcat-genesis-scripts 2016-07-22 06:07:31 -04:00
ertaozh 15dd911372 Modify xcat-genesis-scripts-ppc64 depend on xcat-genesis-base-ppc64 and xcat-genesis-scripts-x86-64 depend on xcat-genesis-base-x86-64 for ubuntu 2016-07-18 21:44:20 -04:00