MariaDB Custombuild upgrades on some of our older servers are failing because of a 10GB (actually 9.2GB) /usr partition which is too small for the upgrade. As these are not yet LVM partitioned and /usr is not the last partition, they're pretty hard to enlarge.
At the moment some 3.5GB is available on the /usr partition and MariaDB uses about 2.3GB. The issue is that during the upgrade, the new MariaDB version gets 1) downloaded (2GB+ .tar.gz) and unzipped (2GB+ folder) in the /usr partition, so for a short moment, both the old version, new version and .tar.gz file are present in the /usr partition, taking up more than 3.5GB.
Is there an easy way to make Custombuild download the new version to a custom folder on another partition and unzip it to the /usr partition?
At the moment some 3.5GB is available on the /usr partition and MariaDB uses about 2.3GB. The issue is that during the upgrade, the new MariaDB version gets 1) downloaded (2GB+ .tar.gz) and unzipped (2GB+ folder) in the /usr partition, so for a short moment, both the old version, new version and .tar.gz file are present in the /usr partition, taking up more than 3.5GB.
Is there an easy way to make Custombuild download the new version to a custom folder on another partition and unzip it to the /usr partition?