mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
port LKRG compatibility settings automation for VirtualBox hosts from systemd to dpkg trigger
This commit is contained in:
parent
f03c7978c7
commit
5a65c35479
6
debian/security-misc.postinst
vendored
6
debian/security-misc.postinst
vendored
@ -29,6 +29,12 @@ case "$1" in
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
triggered)
|
||||
echo "INFO: triggered $DPKG_MAINTSCRIPT_PACKAGE: '$DPKG_MAINTSCRIPT_PACKAGE' $DPKG_MAINTSCRIPT_PACKAGE DPKG_MAINTSCRIPT_NAME: '$DPKG_MAINTSCRIPT_NAME' $\@: '$@' 2: '$2'"
|
||||
/usr/share/security-misc/lkrg/lkrg-virtualbox || true
|
||||
exit 0
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$DPKG_MAINTSCRIPT_NAME called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
|
3
debian/security-misc.triggers
vendored
3
debian/security-misc.triggers
vendored
@ -9,4 +9,7 @@
|
||||
## Activate initramfs hook that sets the sysctl values before init is executed.
|
||||
activate-noawait update-initramfs
|
||||
|
||||
## LKRG /usr/share/security-misc/lkrg/lkrg-virtualbox
|
||||
interest-noawait /usr/bin/vboxmanage
|
||||
|
||||
#### meta end
|
||||
|
@ -1,5 +0,0 @@
|
||||
## Copyright (C) 2021 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/share/security-misc/lkrg/lkrg-virtualbox
|
Loading…
Reference in New Issue
Block a user