mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-21 16:39:30 +00:00
fix(xcat-core): go-xcat names a genesis package no apt repository has
On ppc64el "go-xcat install" and "go-xcat uninstall" stop with E: Unable to locate package xcat-genesis-scripts-ppc64 apt refuses the whole transaction, so no package of the list is installed or removed. The dpkg branch of GO_XCAT_INSTALL_LIST in xCAT-server/share/xcat/tools/go-xcat names xcat-genesis-scripts-ppc64 and xcat-genesis-base-ppc64. Those are rpm architecture names. GO_XCAT_UNINSTALL_LIST is derived from the same array, so both actions carry the wrong names. The Debian architecture is ppc64el. This change renames the two entries of the dpkg branch. The rpm branch keeps ppc64, which is the Genesis target architecture of the spec. go_xcat_genesis_package_names.t fails the four deb assertions without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -199,9 +199,9 @@ GO_XCAT_INSTALL_LIST=(perl-xCAT xCAT-client xCAT xCAT-buildkit
|
||||
# For Debian/Ubuntu, it will need a slightly different package list
|
||||
type dpkg >/dev/null 2>&1 &&
|
||||
GO_XCAT_INSTALL_LIST=(perl-xcat xcat-client xcat xcat-buildkit
|
||||
xcat-genesis-scripts-amd64 xcat-genesis-scripts-ppc64 xcat-server
|
||||
xcat-genesis-scripts-amd64 xcat-genesis-scripts-ppc64el xcat-server
|
||||
elilo-xcat grub2-xcat ipmitool-xcat syslinux-xcat
|
||||
xcat-genesis-base-amd64 xcat-genesis-base-ppc64 xnba-undi)
|
||||
xcat-genesis-base-amd64 xcat-genesis-base-ppc64el xnba-undi)
|
||||
# The package list of all the packages should be uninstalled
|
||||
GO_XCAT_UNINSTALL_LIST=("${GO_XCAT_INSTALL_LIST[@]}"
|
||||
goconserver xCAT-SoftLayer xCAT-confluent xCAT-csm xCAT-genesis-builder
|
||||
|
||||
Reference in New Issue
Block a user