diff options
-rw-r--r-- | installer/OpenSLX/OSSetup/Engine.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 31a3eb28..1de74ff8 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -437,6 +437,11 @@ sub callChrootedFunctionForVendorOS ); } + # avoid trying to chroot into a 64-bit vendor-OS if the host is only 32-bit: + if (!$self->_hostIs64Bit() && -e "$self->{'vendor-os-path'}/lib64") { + die _tr("you can't use a 64-bit vendor-OS on a 32-bit host, sorry!\n"); + } + my $httpServers = OpenSLX::ScopedResource->new({ name => 'local-http-servers', acquire => sub { $self->_startLocalURLServersAsNeeded(); 1 }, |