General: fixing wrong permission on desktops which pops out when using bluetooth

This commit is contained in:
Igor Pecovnik 2019-09-08 20:56:14 +02:00
parent c4af831b90
commit 76cafa6915

View file

@ -241,6 +241,10 @@ install_common()
[[ -f $SDCARD/etc/console-setup/cached_setup_terminal.sh ]] && sed -i "s/^printf '.*/printf '\\\033\%\%G'/g" "${SDCARD}"/etc/console-setup/cached_setup_terminal.sh
[[ -f $SDCARD/etc/console-setup/cached_setup_keyboard.sh ]] && sed -i "s/-u/-x'/g" "${SDCARD}"/etc/console-setup/cached_setup_keyboard.sh
# fix for https://bugs.launchpad.net/ubuntu/+source/blueman/+bug/1542723
chroot "${SDCARD}" /bin/bash -c "chown root:messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper"
chroot "${SDCARD}" /bin/bash -c "chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper"
# disable low-level kernel messages for non betas
# TODO: enable only for desktop builds?
if [[ -z $BETA ]]; then