mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-09 14:36:43 +00:00
fix(perl-xCAT): map the 32-bit x86 architecture to i386
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>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user