0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-12 12:42:09 +00:00
netdata_netdata/packaging/cmake/pkg-files/deb/plugin-slabinfo/preinst

12 lines
150 B
Text
Raw Normal View History

Use CPack to generate Debian packages (#17475) * CPack * Add script to build all artifacts. * Add infrastructure to run package builds via CPack in CI. * Fix typos in distro config. * Fix permissions on package-build script. * Control files for netdata package * pre/post inst files for debugfs. * Fix directory name handling for package build. * pre/post inst scripts for cups * pre/post inst scripts for xenstat * pre/post inst scripts for slabinfo * pre/post inst scripts for apps * pre/post inst scripts for network-viewer * pre/post inst script for nfacct * pre/post inst scripts for freeipmi * pre/post inst scripts for logs-management * pre/post inst perf * pre/post inst scripts for systemd-journal * pre/post init scripts for go.d * pre/post inst scripts for ebpf * pre/post init files for charts.d & python.d * Skip eBPF in packaging. * Fix most of the package names * Add copyright * etc/default/netdata * Bump * Enable all packages except for ebpf. * Add log2journal to netdata component. * Produce pretty-much the same RFS. - No README.md docs - /var/run/netdat missing on CPack's side - No ebpf - No changelogs * Enable ebpf plugin * Fix runtime path * Build debug symbol packages * Update package directory * Fix eBPF and Xenstat conditionals. * Fixes for package build process. * Package version for cpack * Add ebpf-code-legacy package * Update extraction logic * Fix control info for netdata package * Fix control file for chartsd plugin package * Fix typos in package build script. * Update dependencies * Add python3 * Fix verbose option to cpack * Add whitespace in package description field. * SKip adding files that might break rpm packages * Final fixups to package handling. * Fix architecture matching for package build options. * Fix dependency handling. * Remove top-level scripts --------- Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
2024-04-30 14:45:23 +03:00
#!/bin/sh
set -e
case "$1" in
install)
if ! getent group netdata > /dev/null; then
addgroup --quiet --system netdata
fi
;;
esac