Commit d709581b authored by Guido Gunther's avatar Guido Gunther

Drop weston

We're running phosh by default for a while now
parent 24e50b04
......@@ -3,7 +3,6 @@
gui_packages="
libgl1-mesa-dri
libpam-systemd
weston
libhandy-0.0-0
librem5-theme-default
......
[Unit]
Description=Weston, a Wayland compositor, as a system service
Documentation=man:weston(1) man:weston.ini(5)
Documentation=http://wayland.freedesktop.org/
# Make sure we are started after logins are permitted.
After=systemd-user-sessions.service
# If Plymouth is used, we want to start when it is on its way out.
After=plymouth-quit-wait.service
# D-Bus is necessary for contacting logind. Logind is required.
Wants=dbus.socket
After=dbus.socket
# This scope is created by pam_systemd when logging in as the user.
# This directive is a workaround to a systemd bug, where the setup of the
# user session by PAM has some race condition, possibly leading to a failure.
# See README for more details.
After=session-c1.scope
# Since we are part of the graphical session, make sure we are started before
# it is complete.
Before=graphical.target
# Prevent starting on systems without virtual consoles, Weston requires one
# for now.
ConditionPathExists=/dev/tty0
[Service]
# Requires systemd-notify.so Weston plugin.
#Type=notify
ExecStart=/usr/bin/weston
# Optional watchdog setup
TimeoutStartSec=60
#WatchdogSec=20
# The user to run Weston as.
User=purism
# Set up a full user session for the user, required by Weston.
PAMName=login
# A virtual terminal is needed.
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
# Fail to start if not controlling the tty.
StandardInput=tty-fail
# Log this user with utmp, letting it show up with commands 'w' and 'who'.
UtmpIdentifier=tty7
UtmpMode=user
[Install]
WantedBy=graphical.target
......@@ -138,10 +138,10 @@ function create_stamp()
function setup_gui()
{
# Allow purism user to launch weston from the console, etc.
for group in weston-launch video audio; do
for group in video audio; do
chroot "${basedir}" adduser purism "${group}"
done
cp data/{weston,phosh}.service "${basedir}/etc/systemd/system/"
cp data/{phosh}.service "${basedir}/etc/systemd/system/"
chroot "${basedir}" systemctl enable phosh.service
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment