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
68a3f5b5
Commit
68a3f5b5
authored
May 17, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapplauncherd: Disable boot mode
parent
c91b1d17
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
12 deletions
+49
-12
psplash.sh
recipes-core/psplash/files/psplash.sh
+29
-0
psplash_git.bbappend
recipes-core/psplash/psplash_git.bbappend
+3
-0
booster-qt5-signal.service
...mapplauncherd/mapplauncherd-qt/booster-qt5-signal.service
+0
-9
booster-qt5.service
...mobile/mapplauncherd/mapplauncherd-qt/booster-qt5.service
+14
-0
mapplauncherd-qt_git.bb
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
+3
-3
No files found.
recipes-core/psplash/files/psplash.sh
0 → 100755
View file @
68a3f5b5
#!/bin/sh
### BEGIN INIT INFO
# Provides: psplash
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
### END INIT INFO
read
CMDLINE < /proc/cmdline
for
x
in
$CMDLINE
;
do
case
$x
in
psplash
=
false
)
echo
"Boot splashscreen disabled"
exit
0
;
;;
esac
done
export
TMPDIR
=
/mnt/.psplash
mount tmpfs
-t
tmpfs
$TMPDIR
-o
,size
=
40k
rotation
=
0
if
[
-e
/etc/rotation
]
;
then
read
rotation < /etc/rotation
fi
/usr/bin/psplash
--angle
$rotation
--no-console-switch
&
recipes-core/psplash/psplash_git.bbappend
View file @
68a3f5b5
...
...
@@ -7,6 +7,7 @@ file://0001-Don-t-draw-progress-and-message-bar.patch \
file://psplash.service \
file://psplash-img-280.png \
file://psplash-img-320.png \
file://psplash.sh \
"
SPLASH_IMAGES = "file://psplash-img-320.png;outsuffix=default"
...
...
@@ -25,6 +26,8 @@ do_install_append () {
cp ../psplash.service ${D}/lib/systemd/system/
ln -s ../psplash.service ${D}/lib/systemd/system/multi-user.target.wants/psplash.service
cp ../psplash.sh ${D}/etc/init.d/psplash.sh
}
# Erase psplash's pkg_postinst which masks psplash from systemd
...
...
recipes-nemomobile/mapplauncherd/mapplauncherd-qt/booster-qt5-signal.service
deleted
100644 → 0
View file @
c91b1d17
[Unit]
Description=Signal booster-qt5 that boot is over
Requires=booster-qt5.service
After=booster-qt5.service post-user-session.target asteroid-launcher.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/killall -SIGUSR1 booster-qt5
recipes-nemomobile/mapplauncherd/mapplauncherd-qt/booster-qt5.service
0 → 100644
View file @
68a3f5b5
[Unit]
Description=Application launch booster for Qt5
After=dbus.socket
Requires=dbus.socket
Wants=booster-qt5-signal.service
[Service]
Type=notify
ExecStart=/usr/libexec/mapplauncherd/booster-qt5 --systemd
Restart=always
RestartSec=1
[Install]
WantedBy=user-session.target
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
View file @
68a3f5b5
...
...
@@ -4,7 +4,7 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://qtbooster/qtbooster.cpp;beginline=1;endline=18;md5=fb70bd5bb640878875111d8161fa303c"
SRC_URI = "git://git.merproject.org/mer-core/mapplauncherd-qt.git;protocol=https \
file://booster-qt5
-signal
.service"
file://booster-qt5.service"
SRCREV = "8c2d34f64c7e21bcf394e937e71361da51e6077c"
PR = "r1"
PV = "+git${SRCPV}"
...
...
@@ -16,13 +16,13 @@ RDEPENDS_${PN} += "polkit mapplauncherd"
do_configure_prepend() {
sed -i "s@INCLUDEPATH += /usr/include/applauncherd@INCLUDEPATH += ${STAGING_INCDIR}/applauncherd@" ${S}/qtbooster/qtbooster.pro
cp ${WORKDIR}/booster-qt5
-signal.service ${S}/data/booster-qt5-signal
.service
cp ${WORKDIR}/booster-qt5
.service ${S}/data/booster-qt5
.service
}
do_install_append() {
rm ${D}/usr/lib/systemd/user/booster-qt5-signal.service
install -d ${D}/usr/lib/systemd/user/default.target.wants/
ln -s ../booster-qt5.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5.service
ln -s ../booster-qt5-signal.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5-signal.service
}
FILES_${PN} += "/usr/lib/systemd/user /usr/libexec/mapplauncherd"
...
...
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