mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #3666 from lrusak/iwd
iwd: disable seccomp options for now as it breaks the service
This commit is contained in:
commit
c7f2f6ab34
@ -20,6 +20,20 @@ pre_configure_target() {
|
||||
export LIBS="-lncurses"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
# ProtectSystem et al seems to break the service when systemd isn't built with seccomp.
|
||||
# investigate this more as it might be a systemd problem or kernel problem
|
||||
sed -e 's|^\(PrivateTmp=.*\)$|#\1|g' \
|
||||
-e 's|^\(NoNewPrivileges=.*\)$|#\1|g' \
|
||||
-e 's|^\(PrivateDevices=.*\)$|#\1|g' \
|
||||
-e 's|^\(ProtectHome=.*\)$|#\1|g' \
|
||||
-e 's|^\(ProtectSystem=.*\)$|#\1|g' \
|
||||
-e 's|^\(ReadWritePaths=.*\)$|#\1|g' \
|
||||
-e 's|^\(ProtectControlGroups=.*\)$|#\1|g' \
|
||||
-e 's|^\(ProtectKernelModules=.*\)$|#\1|g' \
|
||||
-i $INSTALL/usr/lib/systemd/system/iwd.service
|
||||
}
|
||||
|
||||
post_install() {
|
||||
enable_service iwd.service
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user