From a2139d03edbf1aa7d1029e94c95bb6195bfb1039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sun, 6 Sep 2026 02:57:13 -0300 Subject: [PATCH] fix(perl-xCAT): map the 32-bit x86 architecture to i386 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit genimage converts osimage.osarch with debian_arch and uses the result twice: it picks the apt mirror and it becomes debootstrap --arch. The map knew x86_64 but not x86, so an image with osarch=x86 selected the ports archive, which carries no i386, and then asked debootstrap for an architecture it does not know. Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com> --- perl-xCAT/xCAT/Utils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 4f79e92e4..7a4405330 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -4876,6 +4876,7 @@ sub splitkcmdline { # without network drivers instead of stopping at debootstrap. my %DEBIAN_ARCH = ( 'x86_64' => 'amd64', + 'x86' => 'i386', ); sub debian_arch {