Generate osqueryd target from DEB package (#6258)

The DEB packages have a stripped (smaller) binary rather than the
unstripped binary in the tarball.
This commit is contained in:
Zach Wasserman 2022-06-20 11:13:01 -07:00 committed by GitHub
parent 1d60d6fdc2
commit 7cede96089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,9 @@ jobs:
- name: Download and extract osqueryd for linux
run: |
curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz --output osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz
tar xf osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz
curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery_${{ env.OSQUERY_VERSION }}-1.linux_amd64.deb --output osquery.deb
ar x osquery.deb
tar xf data.tar.gz
chmod +x ./opt/osquery/bin/osqueryd
./opt/osquery/bin/osqueryd --version