Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
99361c3f
Commit
99361c3f
authored
Jan 24, 2019
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemd: Let the new systemd provide the DBus services now
parent
b0bf5e3c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
35 deletions
+0
-35
dbus.conf
recipes-core/systemd/systemd/dbus.conf
+0
-2
dbus.service
recipes-core/systemd/systemd/dbus.service
+0
-7
dbus.socket
recipes-core/systemd/systemd/dbus.socket
+0
-9
systemd_%.bbappend
recipes-core/systemd/systemd_%.bbappend
+0
-17
No files found.
recipes-core/systemd/systemd/dbus.conf
deleted
100644 → 0
View file @
b0bf5e3c
[
Service
]
Environment
=
DBUS_SESSION_BUS_ADDRESS
=
unix
:
path
=/
run
/
user
/%
I
/
dbus
/
user_bus_socket
recipes-core/systemd/systemd/dbus.service
deleted
100644 → 0
View file @
b0bf5e3c
[Unit]
Description=D-Bus Message Bus
Requires=dbus.socket
[Service]
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
recipes-core/systemd/systemd/dbus.socket
deleted
100644 → 0
View file @
b0bf5e3c
[Unit]
Description=D-Bus Message Bus Socket
Before=sockets.target
[Socket]
ListenStream=%t/dbus/user_bus_socket
[Install]
WantedBy=default.target
recipes-core/systemd/systemd_%.bbappend
View file @
99361c3f
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://50-video.rules \
SRC_URI_append = " file://50-video.rules \
file://65-android.rules \
file://65-android.rules \
file://dbus.service \
file://dbus.socket \
file://dbus.conf \
file://logind.conf \
file://logind.conf \
file://0001-Hardcode-the-firmware-path-value-which-can-not-be-se.patch"
file://0001-Hardcode-the-firmware-path-value-which-can-not-be-se.patch"
...
@@ -17,23 +14,9 @@ do_install_append() {
...
@@ -17,23 +14,9 @@ do_install_append() {
touch ${D}/var/lib/systemd/linger/ceres
touch ${D}/var/lib/systemd/linger/ceres
sed -i "s@agetty --noclear @agetty --autologin ceres @" ${D}/lib/systemd/system/getty@.service
sed -i "s@agetty --noclear @agetty --autologin ceres @" ${D}/lib/systemd/system/getty@.service
# In current systemd versions we have to take care ourselves of the dbus user service, it should be handled in the next versions
install -d ${D}/usr/lib/systemd/user/
install -d ${D}/home/ceres/.config/systemd/user/default.target.wants/
install -m 0644 ${WORKDIR}/dbus.socket ${D}/usr/lib/systemd/user/dbus.socket
install -m 0644 ${WORKDIR}/dbus.service ${D}/usr/lib/systemd/user/dbus.service
if [ ! -f ${D}/home/ceres/.config/systemd/user/default.target.wants/dbus.socket ]; then
ln -s /usr/lib/systemd/user/dbus.socket ${D}/home/ceres/.config/systemd/user/default.target.wants/dbus.socket
ln -s /usr/lib/systemd/user/dbus.service ${D}/home/ceres/.config/systemd/user/default.target.wants/dbus.service
fi
install -d ${D}/etc/systemd/system/user@.service.d/
install -m 0644 ${WORKDIR}/dbus.conf ${D}/etc/systemd/system/user@.service.d/dbus.conf
install -m 0644 ${WORKDIR}/logind.conf ${D}/etc/systemd/logind.conf
install -m 0644 ${WORKDIR}/logind.conf ${D}/etc/systemd/logind.conf
}
}
FILES_${PN} += "/home/ceres/.config/systemd/user/default.target.wants/"
PACKAGECONFIG_append += "pam"
PACKAGECONFIG_append += "pam"
RRECOMMENDS_${PN}_remove = "udev-hwdb"
RRECOMMENDS_${PN}_remove = "udev-hwdb"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment