mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 22:58:12 +00:00
Build .deb, .rpm, and .tgz
This commit is contained in:
3
scripts/description.txt
Normal file
3
scripts/description.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Digwatch instruments your physical and virtual machines at the OS level by installing into the Linux kernel and capturing system calls and other OS events.
|
||||
Then, using a rule-based configuration, you can specify filters for events of interest that you would like to log or be notified of.
|
||||
|
13
scripts/rpm/postinstall
Executable file
13
scripts/rpm/postinstall
Executable file
@@ -0,0 +1,13 @@
|
||||
dkms add -m sysdig -v %{version} --rpm_safe_upgrade
|
||||
if [ `uname -r | grep -c "BOOT"` -eq 0 ] && [ -e /lib/modules/`uname -r`/build/include ]; then
|
||||
dkms build -m sysdig -v %{version}
|
||||
dkms install --force -m sysdig -v %{version}
|
||||
elif [ `uname -r | grep -c "BOOT"` -gt 0 ]; then
|
||||
echo -e ""
|
||||
echo -e "Module build for the currently running kernel was skipped since you"
|
||||
echo -e "are running a BOOT variant of the kernel."
|
||||
else
|
||||
echo -e ""
|
||||
echo -e "Module build for the currently running kernel was skipped since the"
|
||||
echo -e "kernel source for this kernel does not seem to be installed."
|
||||
fi
|
1
scripts/rpm/preuninstall
Executable file
1
scripts/rpm/preuninstall
Executable file
@@ -0,0 +1 @@
|
||||
dkms remove -m sysdig -v %{version} --all --rpm_safe_upgrade
|
Reference in New Issue
Block a user