mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
polkit:
- install some needed directories
This commit is contained in:
parent
99e48e7f79
commit
3096708f0d
@ -1,12 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# NOTE: The directory /var/lib/polkit-1 must be owned
|
||||
# by root and have mode 700
|
||||
# NOTE: The file /usr/lib/polkit/polkit-agent-helper-1 must be owned
|
||||
# by root and have mode 4755 (setuid root binary)
|
||||
# NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and
|
||||
# have mode 4755 (setuid root binary)
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install zlib
|
||||
@ -23,6 +16,15 @@ mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||
mkdir -p $INSTALL/etc/pam.d
|
||||
cp -P $PKG_BUILD/data/polkit-1 $INSTALL/etc/pam.d
|
||||
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority
|
||||
echo "chmod 700 $INSTALL/etc/polkit-1/localauthority" >> $FAKEROOT_SCRIPT
|
||||
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority/10-vendor.d
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority/20-org.d
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority/30-site.d
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority/50-local.d
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority/90-mandatory.d
|
||||
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority.conf.d
|
||||
cp -P $PKG_BUILD/src/polkitbackend/50-localauthority.conf $INSTALL/etc/polkit-1/localauthority.conf.d
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user