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
56f70c7e
Commit
56f70c7e
authored
Feb 21, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3 from theappleman/linger
Fix lingering for ceres
parents
c7cf9fb0
48d1f83c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
systemd_%.bbappend
recipes-core/systemd/systemd_%.bbappend
+2
-9
No files found.
recipes-core/systemd/systemd_%.bbappend
View file @
56f70c7e
...
...
@@ -11,6 +11,8 @@ do_install_append() {
install -m 0644 ${WORKDIR}/65-android.rules ${D}${sysconfdir}/udev/rules.d/65-android.rules
# Enables auto-login for ceres
install -d ${D}/var/lib/systemd/linger
touch ${D}/var/lib/systemd/linger/ceres
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
...
...
@@ -23,13 +25,4 @@ do_install_append() {
install -m 0644 ${WORKDIR}/dbus.conf ${D}/etc/systemd/system/user@.service.d/dbus.conf
}
pkg_postinst_${PN}() {
#!/bin/sh -e
if [ x"$D" = "x" ]; then
loginctl enable-linger ceres
else
exit 1
fi
}
PACKAGECONFIG_append += "pam"
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