You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Fix language in rh7 test container for aarch64.
The /etc/profile.d/lang.sh script was causing issues but it does not exist on amd64, so it seems the easiest thing was to remove it. Fix how 32-bit VMs are determined now that another 64-bit architecture has been added. And remove some obsolete VM hashes.
This commit is contained in:
@ -575,6 +575,14 @@ sub containerBuild
|
||||
$strCopy = undef;
|
||||
$strScript = '';
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
if ($oVm->{$strOS}{&VM_OS_BASE} eq VM_OS_BASE_RHEL && hostArch() eq VM_ARCH_AARCH64)
|
||||
{
|
||||
$strScript .= sectionHeader() .
|
||||
"# Remove unneeded language setup\n" .
|
||||
" rm /etc/profile.d/lang.sh";
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
$strScript .= caSetup($strOS, $oStorageDocker, "test/certificate/pgbackrest-test-ca.crt");
|
||||
|
||||
|
Reference in New Issue
Block a user