1 FILESEXTRAPATHS_append := "${THISDIR}/user-session-units"
4 rm -f ${D}/lib/systemd/user/dbus.socket
6 mkdir -p ${D}/lib/systemd/system/multi-user.target.wants
8 ln -sf ../user-session-launch@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session-launch@seat0-5001.service
9 ln -sf ../user-session-launch@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session-launch@seat0-5002.service
10 ln -sf ../user-session-launch@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session-launch@seat0-5003.service
11 ln -sf ../user-session-launch@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session-launch@seat0-9999.service
13 ln -sf ../user-session@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session@5001.service
14 ln -sf ../user-session@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session@5002.service
15 ln -sf ../user-session@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session@5003.service
16 ln -sf ../user-session@.service ${D}/lib/systemd/system/multi-user.target.wants/user-session@9999.service
18 echo "[Unit]" > ${D}/lib/systemd/user/default.target
19 echo "Description=User session default target" >> ${D}/lib/systemd/user/default.target
21 mkdir -p ${D}/lib/systemd/user/default.target.wants
22 ln -sf ../dbus.service ${D}/lib/systemd/user/default.target.wants/dbus.service
23 rm ${D}/lib/systemd/user/dbus.service
26 user-session-units_files += "/lib/systemd/user/*"