On 2020-01-21 11:24, Paul Barker wrote:
> On Tue, 21 Jan 2020 at 10:07, Stefan Agner <[email protected]> wrote:
>>
>> From: Stefan Agner <[email protected]>
>>
>> This adds optional systemd support. When enabled, an utility called
>> psplash-systemd is built. This tool will connect to systemd using the
>> system bus to obtain progress information and communicate that to
>> psplash. Once full boot progress is reported by systemd psplash
>> psplash is closed using the quit command.
>>
>> Signed-off-by: Stefan Agner <[email protected]>
> 
> Looks like your email client or mail server has made a mess of this
> one - it's "Content-Type: multipart/mixed" with quoted-printable
> encoding for the text.

Hm, I did send it using git send-email:
$ git send-email [email protected]
[email protected] [email protected]
v2-0001-add-systemd-support.patch 

When I look at the email delivered to my inbox it has no "Content-Type",
not sure if that is a problem? I use my setup since quite a while
successfully on mailing lists...

> 
> Could you try re-sending with `git send-email`? I'd like to test this
> one out myself as I've been using psplash with systemd via a bodge
> copied from AGL for a while now - that doesn't show proper progress
> though it just spins the bar around.

Interested to see how it works on your side. Progress works quite
nicely, the only downside is that systemd's progress information is not
really linear, so usually the progress bar makes progress quite quickly
and starts to slow down towards the end... It is not ideal, but better
than nothing IMHO :-)

I will send a psplash recipe update once this gets merged, but something
like this should help if you want to give it a try already:

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

inherit systemd

SRC_URI += " \
    file://0001-add-systemd-support.patch \
    ${SPLASH_PATCH} \
"

SYSTEMD_PACKAGES =
"${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
SYSTEMD_SERVICE_${PN} +=
"${@bb.utils.contains('DISTRO_FEATURES','systemd','psplash-start.service','',d)}"

PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"

PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"

do_install_append () {
        install -d ${D}${systemd_unitdir}/system
}

And a unit file like this:

[Unit]
Description=Starts Psplash Boot screen
DefaultDependencies=no

[Service]
ExecStart=/usr/bin/psplash-systemd

[Install]
WantedBy=sysinit.target

--
Stefan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48063): https://lists.yoctoproject.org/g/yocto/message/48063
Mute This Topic: https://lists.yoctoproject.org/mt/69953266/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to