beats4pi
beats4pi copied to clipboard
Wrong name in the tar file.
In the produced tarfile the name of the directory contains x86 even in the package is built for arm7
Expected result
A tarfile named ex. metricbeat-6.8.7-linux-arm7.tar.gz should contain a dir metricbeat-6.8.7-linux-arm7
I think the problem is here https://github.com/andig/beats4pi/blob/master/build.sh#L29 since we copy certain files from the x86 archive. Should probably get rid of the dirname entirely.
Would be happy to accept a PR!