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
3222cc9f
Commit
3222cc9f
authored
Sep 12, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psplash: install a systemd service because the sysv generator is broken
parent
d0e0b43d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
psplash.service
recipes-core/psplash/files/psplash.service
+17
-0
psplash_git.bbappend
recipes-core/psplash/psplash_git.bbappend
+10
-0
No files found.
recipes-core/psplash/files/psplash.service
0 → 100644
View file @
3222cc9f
[Unit]
SourcePath=/etc/init.d/psplash.sh
Description=Lightweight splashscreen
DefaultDependencies=no
Before=sysinit.target shutdown.target
Conflicts=shutdown.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/etc/init.d/psplash.sh start
ExecStop=/etc/init.d/psplash.sh stop
recipes-core/psplash/psplash_git.bbappend
View file @
3222cc9f
...
...
@@ -4,6 +4,7 @@ SRC_URI += "file://psplash-colors.h \
file://psplash-bar-img.png \
file://psplash-config.h \
file://0001-Don-t-draw-progress-and-message-bar.patch \
file://psplash.service \
"
SPLASH_IMAGES = "file://psplash-poky-img.png;outsuffix=default"
...
...
@@ -15,6 +16,15 @@ do_configure_append () {
./make-image-header.sh ./psplash-bar.png BAR
}
do_install_append () {
install -d ${D}/lib/systemd/system/multi-user.target.wants/
cp ../psplash.service ${D}/lib/systemd/system/
ln -s ../psplash.service ${D}/lib/systemd/system/multi-user.target.wants/psplash.service
}
# Erase psplash's pkg_postinst which masks psplash from systemd
pkg_postinst_${PN} () {
}
FILES_${PN} += "/lib/systemd/system/"
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