Although Amazon Linux is based off RedHat/CentOS and uses the same rpm build structure, for some reason they changed /etc/redhat-release to /etc/system-release. As this is not a recognised structure, the Riak build fails, claiming it does not know what to do with "Linux". This pull request is designed to get around that and allow Amazon Linux to build as if it were RedHat/CentOS.
This issue affects all versions of node_package. Would it be at all possible to git cherry-pick this in to multiple versions and tags, please? Especially tags 4.0.2 (KV 2.2.6 and KV 2.9.0) and 3.0.0 (CS 2.1.2 and Stanchion 2.1.2).
Although Amazon Linux is based off RedHat/CentOS and uses the same rpm build structure, for some reason they changed
/etc/redhat-release
to/etc/system-release
. As this is not a recognised structure, the Riak build fails, claiming it does not know what to do with "Linux". This pull request is designed to get around that and allow Amazon Linux to build as if it were RedHat/CentOS.This issue affects all versions of node_package. Would it be at all possible to
git cherry-pick
this in to multiple versions and tags, please? Especially tags 4.0.2 (KV 2.2.6 and KV 2.9.0) and 3.0.0 (CS 2.1.2 and Stanchion 2.1.2).