Commit graph

134 commits

Author SHA1 Message Date
Ray Strode
8e70c530ea [set-default-theme] Drop nash dependency
Now we require one of

1) /bin/plymouth being installed
2) PLYMOUTH_PLUGIN_PATH being set
3) LIB being set (for compatibility)
2009-11-03 23:31:51 -05:00
Ray Strode
920051bc55 [drm] Add start of a drm plugin
This commit adds most of the non-driver specific bits
necessary for backing a renderer plugin.

Subsequent commits will add the driver specific bits.
2009-09-28 17:55:19 -04:00
Ray Strode
d47959e042 [renderer] Add start of frame-buffer plugin
Much of this code comes directly from ply-frame-buffer in libply,
but shoehorned to fit into the renderer plugin interface.

One improvement over the old code is it tracks VT changes, and
stops drawing when the wrong VT is active.
2009-09-28 11:23:37 -04:00
Ray Strode
3c2e1453d9 [populate-initrd] Don't require set_verbose function
If it's not around, define it, so we can use it without error
2009-09-10 09:55:18 -04:00
Ray Strode
736822e2f2 [populate-initrd] Try to find inst more aggressively
We've been using the inst function provided by mkinitrd
to install plymouth and its dependencies into the initrd
root, but mkinitrd may not be installed in a dracut world,
and dracut has its own inst function.

This commit tries getting access to either of them, before
bailing. At some point we may want to bundle our own inst
function or get a new flag added to /usr/bin/install to do
what inst does.
2009-09-09 11:26:46 -04:00
Ray Strode
803204e6cb [scripts] add plymouth-generate-initrd script
One useful way to use plymouth is by installing it into
an auxillary initrd image, that overlays the primary one.

This allows plymouth and its current theme to get updated
indepedently of the kernel and the rest of the initrd
stuff.

plymouth-generate-initrd creates an initrd named:

     initrd-plymouth.img

in /boot that is suitable for use a second initrd on
the initrd line in grub.conf.
2009-08-28 20:04:17 -04:00
Ray Strode
d633072a71 [populate-initrd] Get plugin path from plymouth
Previously, we'd try to guess the plugin path based
on the arch of the running process.  That's sort of
fragile, so better to just install plugins where
plymouth says it's going to look for them.
2009-08-25 14:53:31 -04:00
Frederic Crozat
279e709d91 allow to change system release filename with configure option 2009-08-11 17:25:41 +02:00
Ray Strode
6acf834f1e [splash] Split splashes into plugins and themes
Some of the plugins (well, the glow plugin) would be a lot more
versatile if they could be reused for multiple splashes with different
images.

This commit splits boot splashes into two parts, the plugin engine which
does all the dirty work, and the theme which says which plugin to use
and optionally how the plugin should work (using plugin specific
key/value pairs)
2009-05-20 17:27:52 -04:00
Ray Strode
4e1004c19d exit plymouth-set-default-plugin cleanly when --rebuild-initrd isn't given 2009-03-06 18:03:28 -05:00
Charlie Brej
631b14c1b7 In plymouth-set-default-plugin on reset make sure we do not set label.so as a
default splash plugin.
2009-02-24 09:27:53 +00:00
Ray Strode
711636ec6a Call --reset when giving default plugin if needed
Previously, we tried to do this but failed because
of a buggy conditional.
2008-11-21 11:49:53 -05:00
Ray Strode
b295846642 Add --list to plymouth-set-default-plugin
https://bugs.freedesktop.org/show_bug.cgi?id=18298 requests
the ability to a get a list of plugins.
2008-11-19 14:18:48 -05:00
Ray Strode
91a93445b3 Add a --rebuild-initrd arg for set-default-plugin
Normally when a user runs plymouth-set-default-plugin
to change which plugin plymouth uses, the change doesn't
take effect until a new kernel is installed and the initrd
is rebuilt.

This new --rebuild-initrd argument forces the currently
running initrd to get rebuilt immediately (bug 18297).
2008-11-19 11:26:58 -05:00
Ray Strode
02ea84e6d3 Add usage info to plymouth-set-default-plugin 2008-11-19 11:26:58 -05:00
Ray Strode
b0273ca055 Don't error if default.so doesn't exist
There are cases where we don't set a default and instead
fallback at runtime to text.so.  Don't make that an error
condition.
2008-11-17 15:31:59 -05:00
Ray Strode
b038572c63 Don't reset LIB="lib" when LIB is in environment
It was causing scriptlet failures.
2008-11-12 16:26:16 -05:00
Jeremy Katz
218064c122 Make populate-initrd default plugin tweakable
It's occasionally useful to be able to specify
the which plugin to use with plymouth-populate-initrd.
2008-11-10 11:16:24 -05:00
Ray Strode
845f4dd500 Don't require plymouth to set default plugin
Package ordering requires set-default-plugin
to get called early.
2008-10-30 12:58:53 -04:00
Ray Strode
8f7cf9a139 Gut plymouth-update-initrd
It's broken and people keep using it, so change it so that it's
useful.
2008-10-17 15:49:31 -04:00
Ray Strode
88e1b4d417 update libdir detection to reflect to plymouth dir
Previously, plymouth was installed in /usr/bin and
we'd look for it there to figure out if this is a
64-bit or 32-bit install. Now it's in /bin, so we
need to look in /bin instead.
2008-10-06 14:19:38 -04:00
Ray Strode
69e479e5f8 Move plymouth client/daemon/libply out of /usr
Since we may be calling plymouth before /usr is
mounted we need to make sure it's not in /usr.

The daemon could technically stay in /usr/libexec,
but if we're moving the client, should move the
daemon, too, I guess.
2008-10-06 10:32:05 -04:00
Ray Strode
2a1f24f597 Add new "text" plugin from Adam Jackson
This one is prettier than the previous
one that's been deemed "cylon" and "kit"
before.
2008-09-28 23:40:28 -04:00
Christoph Brill
b6da503604 Fix sandbox builds (by using DESTDIR)
plymouth-update-initrd was getting passed
the logo location without DESTDIR
2008-09-11 23:01:37 -04:00
Ray Strode
1e261cca34 remove set -e from plymouth-populate-initrd
It screws up since some of the mkinitrd functions return non-zero
2008-08-06 22:37:37 -04:00
Peter Jones
a17deea7ca Don't do library installation twice. Also fix some typos. 2008-07-30 10:31:40 -04:00
Peter Jones
c01d237689 Make plymouth-populate-initrd use utility functions from mkinitrd 2008-07-29 15:27:20 -04:00
Ray Strode
d8086a93a3 Compute libdir using yet a different heuristic
The previous one falls over for ia64
2008-07-09 21:31:20 -04:00
Ray Strode
ad6d1eb75f Make --reset chooser the most recent plugin not the oldest 2008-06-23 19:26:33 -04:00
Ray Strode
eae4d16381 Don't create plugin specific data dir in initrd unless it has one 2008-06-19 16:57:26 -04:00
Peter Jones
e219bb6e67 Fix ldconfig to be run on -libs not on the main package.
Fix main package and plugins not to reset inappropriately.
2008-06-17 13:41:58 -04:00
Peter Jones
1892caa3df Make plymouth-populate-initrd run "plymouth-set-default-plugin --reset" if none is set. 2008-06-17 11:47:23 -04:00
Peter Jones
a6f91f55b1 Name the default plugin "default.so", not "graphical.so", so that it's obvious what's going on there. 2008-06-13 17:16:44 -04:00
Ray Strode
4d7ac64ced Don't ship pregenerated initrd scripts in tarball 2008-06-12 14:08:50 -04:00
Peter Jones
835e591f40 Put bizcom.png in the main package and get its path right. 2008-06-12 13:17:49 -04:00
Ray Strode
fd035f2486 Fix distcheck
Now that we generate the initrd scripts, we need to ship
the input templates
2008-06-11 17:27:55 -04:00
Ray Strode
b2f18586cf whitespace cleanup 2008-06-11 17:21:40 -04:00
Ray Strode
bf73740db5 Generate helper scripts so the right logo is included 2008-06-11 17:19:55 -04:00
Ray Strode
1e457ae39c Update populate and update initrd scripts to use the same lib heuristic as set-default-plugin 2008-06-11 17:19:55 -04:00
Ray Strode
5123832d46 add symlink to default plugin in initrd 2008-06-11 17:19:55 -04:00
Ray Strode
3d6f43ed26 create plugin directory before trying to install to it in populate script 2008-06-11 17:19:55 -04:00
Peter Jones
2b1f1097fb Make the spec file capable of building the result from "make dist". 2008-06-11 15:13:48 -04:00
Ray Strode
f8aad4fca9 more spec updates 2008-06-11 14:10:45 -04:00
Ray Strode
28d7756eb3 Update spec file to set the latest installed plugin to default 2008-06-11 12:10:30 -04:00
Ray Strode
9e37acbd13 Add --reset argument to set-default-plugin
It just chooses the last installed plugin as the default
or no plugin if there is none available
2008-06-11 12:10:22 -04:00
Ray Strode
e86a9268dc Add new plymouth-set-default-plugin script
This script updates which plugin graphical.so points to
2008-06-11 12:03:20 -04:00
root
71c5d948b5 Determine which plugin to install based on symlink 2008-06-11 09:04:36 -04:00
Ray Strode
9d9018ac1b Change heuristics in update script for finding which initrd to repack
Before we were using the current initrd, now we use the default initrd
This will hopefully prevent the mismatched kernel/initrd problem.
2008-06-10 10:36:53 -04:00
Ray Strode
1ab7b82893 update initrd script to work with nash changes 2008-06-09 17:15:03 -04:00
Ray Strode
58f19b4a09 Update spec file
Add -libs and -devel subpackages as well as incoporating
the changes that went into the Fedora package after its
package review.
2008-06-09 12:55:58 -04:00