diff options
author | John Helmert III <ajak@gentoo.org> | 2022-07-23 11:41:50 -0500 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2022-07-23 11:42:08 -0500 |
commit | d8a7ea0f27bbb63365fd3402dcac5ea3184ef0b0 (patch) | |
tree | 529ff177105084cd4e0cdf8567cc43541e57c566 /app-antivirus/lkrg/files | |
parent | app-metrics/postgres_exporter: drop 0.9.0 (diff) | |
download | gentoo-d8a7ea0f27bbb63365fd3402dcac5ea3184ef0b0.tar.gz gentoo-d8a7ea0f27bbb63365fd3402dcac5ea3184ef0b0.tar.bz2 gentoo-d8a7ea0f27bbb63365fd3402dcac5ea3184ef0b0.zip |
app-antivirus/lkrg: add 0.9.4
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-antivirus/lkrg/files')
-rw-r--r-- | app-antivirus/lkrg/files/lkrg-0.9.4-gentoo-paths.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-antivirus/lkrg/files/lkrg-0.9.4-gentoo-paths.patch b/app-antivirus/lkrg/files/lkrg-0.9.4-gentoo-paths.patch new file mode 100644 index 000000000000..394f045644cc --- /dev/null +++ b/app-antivirus/lkrg/files/lkrg-0.9.4-gentoo-paths.patch @@ -0,0 +1,20 @@ +commit fa75ae17394574d07cbf55a184a2ac7a73e9a0ed (HEAD -> main) +Author: John Helmert III <ajak@gentoo.org> +Date: Sat Jul 23 00:15:11 2022 -0500 + + Fix paths for Gentoo + + Signed-off-by: John Helmert III <ajak@gentoo.org> + +diff --git a/scripts/bootup/systemd/lkrg.service b/scripts/bootup/systemd/lkrg.service +index 4ac9812..495adb9 100644 +--- a/scripts/bootup/systemd/lkrg.service ++++ b/scripts/bootup/systemd/lkrg.service +@@ -18,6 +18,6 @@ ConditionKernelCommandLine=!nolkrg + [Service] + Type=oneshot + ExecStart=/sbin/modprobe -v lkrg +-ExecStartPost=/sbin/sysctl -p /etc/sysctl.d/01-lkrg.conf ++ExecStartPost=/usr/sbin/sysctl -p /lib/sysctl.d/01-lkrg.conf + ExecStop=/sbin/modprobe -v -r lkrg + RemainAfterExit=yes |