mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-24 17:21:31 +00:00
Add extra policy for xrdp session
This commit is contained in:
parent
8d26a3036c
commit
81b1cbbfc2
@ -103,6 +103,15 @@ ResultInactive=no
|
|||||||
ResultActive=yes
|
ResultActive=yes
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat >/etc/polkit-1/localauthority/50-local.d/46-allow-update-repo.pkla <<EOF
|
||||||
|
[Allow Package Management all Users]
|
||||||
|
Identity=unix-user:*
|
||||||
|
Action=org.freedesktop.packagekit.system-sources-refresh
|
||||||
|
ResultAny=yes
|
||||||
|
ResultInactive=yes
|
||||||
|
ResultActive=yes
|
||||||
|
EOF
|
||||||
|
|
||||||
sed -i${CHANGED_FILE_SUFFIX} -e 's|After=|ConditionPathExists=!/var/lib/oem-config/run\nAfter=|g' "${scratch_d}/lib/systemd/system/xrdp.service"
|
sed -i${CHANGED_FILE_SUFFIX} -e 's|After=|ConditionPathExists=!/var/lib/oem-config/run\nAfter=|g' "${scratch_d}/lib/systemd/system/xrdp.service"
|
||||||
|
|
||||||
# End xrdp customisation
|
# End xrdp customisation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user