-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[r1.32] Enhance ydbinstall.sh to handle new binary tarball naming con…
…vention * The tarball naming convention changed in r1.32. Previously, we used to default to a platform of `linux` and use a tarball that has that name in it. Now there is no `linux` tarball. All tarballs have the linux distribution name in them (e.g. `ubuntu`, `debian` etc.) and we only pick a tarball which has the target system's linux distribution. If we don't find a tarball with a matching distribution, we issue an error (pre-existing logic). * For comparison, below are the names of the binary tarballs for various supported platforms between YottaDB r1.30 and r1.32. ``` r1.30 ------ yottadb_r130_linux_aarch64_pro.tgz yottadb_r130_linux_armv6l_pro.tgz yottadb_r130_linux_armv7l_pro.tgz yottadb_r130_centos8_x8664_pro.tgz yottadb_r130_debian10_x8664_pro.tgz yottadb_r130_linux_x8664_pro.tgz yottadb_r130_rhel7_x8664_pro.tgz yottadb_r130_ubuntu2004_x8664_pro.tgz r1.32 ----- yottadb_r132_aarch64_debian11_pro.tgz yottadb_r132_aarch64_ubuntu2004_pro.tgz yottadb_r132_armv6l_debian11_pro.tgz yottadb_r132_x8664_debian11.tgz yottadb_r132_x8664_rhel7_pro.tgz yottadb_r132_x8664_rhel8_pro.tgz yottadb_r132_x8664_ubuntu2004_pro.tgz ``` * Additionally, ydbinstall.sh treats `ARMV7L` as equivalent to `ARMV6L` in terms of picking a tarball. And treats `CentOS` as equivalent to `RHEL`. * Also, the logic that recognizes the older binary tarball names in case of pre-r1.32 YottaDB release installs is left untouched by moving it into a separate `else` block.
- Loading branch information
Showing
1 changed file
with
93 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters