<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Does anybody know what's the current
state of this issue?<br>
<br>
Thanks,<br>
Chen Qi<br>
<br>
On 08/11/2014 06:00 PM, sujith h wrote:<br>
</div>
<blockquote
cite="mid:CADyYWLma=JqZF=dJRysw7H4HHWSSKdgcpJe4kL3-As9pcwbK5Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Aug 8, 2014 at 11:37 PM,
Saul Wold <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 08/08/2014 02:09 AM, Sujith H wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Sujith H <<a moz-do-not-send="true"
href="mailto:Sujith_Haridasan@mentor.com"
target="_blank">Sujith_Haridasan@mentor.com</a>><br>
<br>
If the DISTRO_FEATURES has systemd, then its better<br>
to have corresponding service files associated with<br>
the psplash. This change will help to do the same.<br>
<br>
</blockquote>
</div>
Can you propose a patch to the psplash upstream which is
part of the Yocto Project (send the patch to <a
moz-do-not-send="true"
href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a>)
and then we can do a psplash upgrade to include these
files directly?<br>
</blockquote>
<div><br>
</div>
<div>Ok then I will submit the same patch to Yocto
Project.<br>
<br>
</div>
<div>Thanks,<br>
Sujith H <br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
Sau!
<div class="HOEnZb">
<div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Signed-off-by: Muzaffar Mahmood <<a
moz-do-not-send="true"
href="mailto:muzaffar_mahmood@mentor.com"
target="_blank">muzaffar_mahmood@mentor.com</a>><br>
Signed-off-by: Sujith H <<a
moz-do-not-send="true"
href="mailto:Sujith_Haridasan@mentor.com"
target="_blank">Sujith_Haridasan@mentor.com</a>><br>
---<br>
meta/recipes-core/psplash/files/psplash-quit.service
| 11 +++++++++++<br>
meta/recipes-core/psplash/files/psplash-start.service
| 11 +++++++++++<br>
meta/recipes-core/psplash/<a
moz-do-not-send="true"
href="http://psplash_git.bb" target="_blank">psplash_git.bb</a>
| 12 +++++++++++-<br>
3 files changed, 33 insertions(+), 1 deletion(-)<br>
create mode 100644 meta/recipes-core/psplash/files/psplash-quit.service<br>
create mode 100644 meta/recipes-core/psplash/files/psplash-start.service<br>
<br>
diff --git a/meta/recipes-core/psplash/files/psplash-quit.service
b/meta/recipes-core/psplash/files/psplash-quit.service<br>
new file mode 100644<br>
index 0000000..14bd499<br>
--- /dev/null<br>
+++ b/meta/recipes-core/psplash/files/psplash-quit.service<br>
@@ -0,0 +1,11 @@<br>
+[Unit]<br>
+Description=Terminate Psplash Boot Screen<br>
+After=psplash-start.service<br>
+<br>
+[Service]<br>
+Type=oneshot<br>
+ExecStart=/usr/bin/psplash-write QUIT<br>
+TimeoutSec=20<br>
+<br>
+[Install]<br>
+WantedBy=multi-user.target<br>
diff --git a/meta/recipes-core/psplash/files/psplash-start.service
b/meta/recipes-core/psplash/files/psplash-start.service<br>
new file mode 100644<br>
index 0000000..502b150<br>
--- /dev/null<br>
+++ b/meta/recipes-core/psplash/files/psplash-start.service<br>
@@ -0,0 +1,11 @@<br>
+[Unit]<br>
+Description=Starts Psplash Boot screen<br>
+Wants=systemd-vconsole-setup.service<br>
+After=systemd-vconsole-setup.service
systemd-udev-trigger.service systemd-udevd.service<br>
+DefaultDependencies=no<br>
+<br>
+[Service]<br>
+ExecStart=/usr/bin/psplash<br>
+<br>
+[Install]<br>
+WantedBy=sysinit.target<br>
diff --git a/meta/recipes-core/psplash/<a
moz-do-not-send="true"
href="http://psplash_git.bb" target="_blank">psplash_git.bb</a>
b/meta/recipes-core/psplash/<a
moz-do-not-send="true"
href="http://psplash_git.bb" target="_blank">psplash_git.bb</a><br>
index 628ced4..16fa0ae 100644<br>
--- a/meta/recipes-core/psplash/<a
moz-do-not-send="true"
href="http://psplash_git.bb" target="_blank">psplash_git.bb</a><br>
+++ b/meta/recipes-core/psplash/<a
moz-do-not-send="true"
href="http://psplash_git.bb" target="_blank">psplash_git.bb</a><br>
@@ -11,6 +11,8 @@ PR = "r15"<br>
<br>
SRC_URI = "git://<a moz-do-not-send="true"
href="http://git.yoctoproject.org/$%7BBPN%7D"
target="_blank">git.yoctoproject.org/${BPN}</a>
\<br>
<a class="moz-txt-link-freetext" href="file://psplash-init">file://psplash-init</a> \<br>
+ <a class="moz-txt-link-freetext" href="file://psplash-start.service">file://psplash-start.service</a> \<br>
+ <a class="moz-txt-link-freetext" href="file://psplash-quit.service">file://psplash-quit.service</a> \<br>
${SPLASH_IMAGES}"<br>
<br>
SPLASH_IMAGES = <a class="moz-txt-link-rfc2396E" href="file://psplash-poky-img.h;outsuffix=default">"file://psplash-poky-img.h;outsuffix=default"</a><br>
@@ -65,11 +67,14 @@ python __anonymous() {<br>
<br>
S = "${WORKDIR}/git"<br>
<br>
-inherit autotools pkgconfig update-rc.d
update-alternatives<br>
+inherit autotools pkgconfig update-rc.d
update-alternatives systemd<br>
<br>
ALTERNATIVE_PRIORITY = "100"<br>
ALTERNATIVE_LINK_NAME[psplash] =
"${bindir}/psplash"<br>
<br>
+SYSTEMD_PACKAGES = "${@base_contains('DISTRO_FEATURES','systemd','${PN}','',d)}"<br>
+SYSTEMD_SERVICE_${PN} =
<a class="moz-txt-link-rfc2396E" href="mailto:${@base_contains('DISTRO_FEATURES','systemd','psplash-start.servicepsplash-quit.service','',d)}">"${@base_contains('DISTRO_FEATURES','systemd','psplash-start.service
psplash-quit.service','',d)}"</a><br>
+<br>
python do_compile () {<br>
import shutil<br>
<br>
@@ -103,6 +108,11 @@ do_install_append() {<br>
install -m 0755 $i
${D}${bindir}/$i<br>
done<br>
rm -f ${D}${bindir}/psplash<br>
+<br>
+ if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)};
then<br>
+ install -d
${D}${systemd_unitdir}/system<br>
+ install -m 644
${WORKDIR}/*.service
${D}/${systemd_unitdir}/system<br>
+ fi<br>
}<br>
<br>
FILES_${PN} += "/mnt/.psplash"<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
സുജിത് ഹരിദാസന്<br>
Bangalore<br>
<Project>Contributor to KDE project<br>
<a moz-do-not-send="true"
href="http://fci.wikia.com/wiki/Anti-DRM-Campaign"
target="_blank">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>
<Blog> <a moz-do-not-send="true"
href="http://sujithh.info" target="_blank">http://sujithh.info</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>