Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. Creating a Text Plymouth (Jeff Hoogland)
   2. Re: Creating a Text Plymouth (Ray Strode)
   3. Re: Creating a Text Plymouth (Jeff Hoogland)
   4. Unable to enter password during boot (Andrey Borzenkov)


----------------------------------------------------------------------

Message: 1
Date: Sat, 5 Feb 2011 18:18:57 -0600
From: Jeff Hoogland <[email protected]>
Subject: Creating a Text Plymouth
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

I have been searching the net and digging through source code tearing my
hair out... How does one go about customizing a text plymouth for a system?

Regards,
~Jeff Hoogland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20110205/b9acd671/attachment.htm>

------------------------------

Message: 2
Date: Sun, 6 Feb 2011 00:27:25 -0500
From: Ray Strode <[email protected]>
Subject: Re: Creating a Text Plymouth
To: Jeff Hoogland <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Sat, Feb 5, 2011 at 7:18 PM, Jeff Hoogland <[email protected]> wrote:
> I have been searching the net and digging through source code tearing my
> hair out... How does one go about customizing a text plymouth for a system?
Can you give a few more details about what you're trying to do?

The source code for the "text" plymouth splash is in

src/plugins/splash/text/plugin.c

This plugin is run automatically when a graphical boot splash can't be loaded.

It's the splash that has 3 competing colinear progress bars (written
by Adam Jackson).

As far as customization goes...

Some of the splash plugins in plymouth support customization through
their theme config files.

For instance, the two-step plugin lets you specify a the theme config
file where to align the animation on the screen,
what directory to pull animation frames from, etc.

The most customizable splash plugin is the "script" plugin (written by
Charlie Brej).  It has an embedded interpreter for a custom scripting
language. A lot of third party themes use the script plugin since you
can get a pretty advanced splash without writing any C code.

The text splash plugin isn't customizable without changing the source
code, however.    If you explain what your end goal is, I can give you
a run down on how you might get there.

--Ray


------------------------------

Message: 3
Date: Sun, 6 Feb 2011 08:40:02 -0600
From: Jeff Hoogland <[email protected]>
Subject: Re: Creating a Text Plymouth
To: Ray Strode <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Ray,

Thanks for the response! I'd like to simply have a black background with the
words "Bodhi Linux" in green. maybe some small other blinking dot/moving bar
in green to let the user know the system is still booting.

~Jeff Hoogland

On Sat, Feb 5, 2011 at 11:27 PM, Ray Strode <[email protected]> wrote:

> Hi,
>
> On Sat, Feb 5, 2011 at 7:18 PM, Jeff Hoogland <[email protected]>
> wrote:
> > I have been searching the net and digging through source code tearing my
> > hair out... How does one go about customizing a text plymouth for a
> system?
> Can you give a few more details about what you're trying to do?
>
> The source code for the "text" plymouth splash is in
>
> src/plugins/splash/text/plugin.c
>
> This plugin is run automatically when a graphical boot splash can't be
> loaded.
>
> It's the splash that has 3 competing colinear progress bars (written
> by Adam Jackson).
>
> As far as customization goes...
>
> Some of the splash plugins in plymouth support customization through
> their theme config files.
>
> For instance, the two-step plugin lets you specify a the theme config
> file where to align the animation on the screen,
> what directory to pull animation frames from, etc.
>
> The most customizable splash plugin is the "script" plugin (written by
> Charlie Brej).  It has an embedded interpreter for a custom scripting
> language. A lot of third party themes use the script plugin since you
> can get a pretty advanced splash without writing any C code.
>
> The text splash plugin isn't customizable without changing the source
> code, however.    If you explain what your end goal is, I can give you
> a run down on how you might get there.
>
> --Ray
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20110206/b02da4da/attachment.htm>

------------------------------

Message: 4
Date: Sun, 6 Feb 2011 21:48:31 +0300
From: Andrey Borzenkov <[email protected]>
Subject: Unable to enter password during boot
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

I am converting Mandriva boot to native systemd. Part of it is
handling of crypto devices; systemd will request pass phrase from user
when activating devices in /etc/crypttab. Well, password entry does
not work. In graphical mode I get password request, no feedback when I
type and when I press ENTER password appears obfuscated (as starts) in
input field. Repeatedly pressing ENTER just adds more stars. In text
mode I get password prompt; when I type password it is echoed back;
pressing ENTER echoes stars and repeatedly pressing ENTER just adds
more stars.

Looks like terminal is somehow screwed up at the point of password input.

The version is 0.8.3 with selected patches from GIT:

# (fc) 0.8.3-2mdv fix tty staying locked after boot (GIT)
Patch0: plymouth-0.8.3-tty-lock.patch
# (fc) 0.8.3-3mdv do not switch VT when hiding plymouth (Mdv bug #59375)
Patch1: plymouth-0.8.3-retain-vt.patch
# (fc) 0.8.3-4mdv do not exit if details plugin isn't available
Patch2: plymouth-0.8.3-details-not-available.patch

# (bor) 0.8.3-5mdv fix "stair stepping" effect on terminal using systemd (GIT)
Patch3: plymouth-0.8.3-tty-OPOST-ONLCR.patch
# (bor) 0.8.3-6mdv be more liberal in accepting init= kernel parameter
(GIT backport)
Patch4: plymouth-0.8.3-smarter_init_detection.patch
# (bor) 0.8.3-6mdv change socket name (GIT)
Patch5: plymouth-0.8.3-change_socket_path.patch
# (bor) 0.8.3-7mdv fix previous patch (submitted upstream)
Patch6: plymouth-0.8.3-change_socket_path-fix.patch

# (proyvind) 0.7.2-8mdv fix build with uclibc (should go upstream..)
Patch7: plymouth-0.7.2-add-missing-header.patch
# (proyvind) 0.7.2-8mdv fix library link order for static linking (idem..)
Patch8: plymouth-0.8.3-library-link-order.patch
# (proyvind) 0.7.2-8mdv substitute /usr/lib with /lib rather than just
stripping away
# /usr. This so that ie. /usr/uclibc/usr/lib will be be
/usr/uclibc/lib rather than
# /uclibc/usr/lib. (should probably go upstream as well)
Patch9: plymouth-0.7.2-less-greedy-usr_lib-substitution.patch
# (proyvind) 0.7.2-8mdv specify absolute path to /bin/plymouth to ensure install
# location with uclibc
Patch10: plymouth-0.8.3-initrd-absolute-path.patch
# (proyvind): /usr/libexec/mkinird-functions has been moved to
/lib/mkinitrd/functions
#             to be available, usable and /sbin/mkinitrd location sensible
Patch11: SOURCES/plymouth-0.8.3-move-mkinitrd-functions-under-root-lib.patch
# (bor) 0.8.3-8 "could not write bytes" is not error (GIT)
Patch12: 
plymouth-0.8.3-boot-server-don-t-print-error-when-client-goes-away.patch

We use tty7 as default splash output:

%configure2_5x CC="%{uclibc_cc}" \
        CFLAGS="%{uclibc_cflags}" \
        LDFLAGS="%{ldflags} -lz" \
        --prefix=%{uclibc_root}%{_prefix} \
        --libdir="%{uclibc_root}%{_libdir}" \
        --bindir="%{uclibc_root}%{plymouthclient_execdir}" \
        --sbindir="%{uclibc_root}%{plymouthdaemon_execdir}" \
        --enable-tracing --disable-tests \
        --with-logo=%{_datadir}/icons/large/mandriva.png                \
        --with-background-start-color-stop=0x0073B3                     \
        --with-background-end-color-stop=0x00457E                       \
        --with-background-color=0x3391cd                                \
        --disable-gdm-transition                                        \
        --without-gdm-autostart-file                                    \
        --without-rhgb-compat-link                                      \
        --with-system-root-install                                      \
        --with-boot-tty=tty7                                            \
        --with-shutdown-tty=tty1                                        \
        --with-release-file=/etc/mandriva-release

I probably will try to build current upstream, but if it rings the
bell for someone ...


------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 28, Issue 1
***************************************

Reply via email to