2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-26 01:34:05 +00:00
Commit Graph

11 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
Gᴏɴɢ Jie 01ad6cd6a6 Uninstall xCAT with go-xcat (#5674)
* [go-xcat] Revise debug log, in order to make debugging go-xcat and bug reporting easier.

* [go-xcat] Revise the prompt messages

* [go-xcat] In yum/zypper repo file, use gpgcheck=1

* [go-xcat] Bump version number

* [go-xcat] Revise the help messages

* [go-xcat] xCAT uninstallation

* [go-xcat] Fix kill command error messages

* [go-xcat] Simplify command line argument processing

* [go-xcat] When do a `check', only run update_repo

* Update document of xCAT uninstallation - use `go-xcat uninstall`

* [go-xcat] Handle goconserver in trash_xcat()

* [go-xcat] Add goconserver to the uninstallation package list

* Add goconserver to the uninstallation package list

* [go-xcat] Fix debug_logger

* [go-xcat] xCAT can be completely uninstalled
2018-10-25 13:24:15 +08:00
GONG Jie 1c3f836515 Remove trailing spaces in file docs/source/guides/install-guides/maintenance/uninstall_xcat.rst 2017-12-31 23:59:59 +00:00
GONG Jie 3c059c899d Remove trailing spaces in file docs/source/guides/install-guides/maintenance/backup_restore_xcat.rst 2017-12-31 23:59:59 +00:00
Mark Gurevich 1121c8529d Changed due to review 2018-04-27 10:58:41 -04:00
Mark Gurevich 4037b2dade Improve xCAT uninstall documentation 2018-04-24 15:51:43 -04:00
Mark Gurevich 551e9a0f48 Spelling fixes for install guides 2017-06-05 11:36:27 -04:00
Mark Gurevich a50f3710f7 Doc spelling and gramma fixes 2016-10-25 15:31:20 -04:00
huweihua 99b8974814 modify depending on comments 2015-12-24 03:09:39 -05:00
huweihua 785de20325 modify depending on comments 2015-12-24 02:58:52 -05:00
huweihua 4ae0d45fde restructure uninstall xcat doc 2015-12-16 02:55:05 -05:00