Title
#general
w

wennan.he

10/24/2022, 7:26 AM
Hi osquery team, i found the file's name after building osquery going like "osquery_5.4.0-1.linux_amd64.deb", i want to know where does "-1.linux" come from? and how could i delete it from generated package's name?
Stefano Bonicatti

Stefano Bonicatti

10/24/2022, 10:20 AM
You would need to change one of the osquery-packaging CMake, it’s not currently configurable via options: https://github.com/osquery/osquery-packaging/blob/4caa2c54f0d893c1efa47932571046bbce156c52/platform/linux/common.cmake#L10-L11
s

seph

10/24/2022, 10:46 AM
You can also rename that, after the build
w

wennan.he

10/24/2022, 5:08 PM
well rename it not working i think because pkg info still contains it. FVFHXXXXX😄ownloads$ dpkg --info osquery_5.4.0-1.linux_amd64.deb new Debian package, version 2.0. size 17959824 bytes: control archive=7665 bytes. 43 bytes, 2 lines conffiles 280 bytes, 11 lines control 19338 bytes, 242 lines md5sums 583 bytes, 23 lines postinst #!/bin/sh Architecture: amd64 Depends: libc6 (>=2.12), zlib1g Description: osquery is an operating system instrumentation toolchain. Homepage: https://osquery.io Maintainer: osquery@osquery.io Package: osquery Priority: extra Section: defaultVersion: 5.4.0-1.linux Installed-Size: 464229