|
|
|
@ -103,6 +103,15 @@ ResultInactive=no
|
|
|
|
|
ResultActive=yes
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
# End xrdp customisation
|
|
|
|
|