Ray Strode
5c81e95480
Unload splash plugin instead of hiding on quit
...
It may decide to keep the splash up after it
exits.
16 years ago
Ray Strode
ebbde8f409
Don't force text mode on quit
...
Leave it up to the splash plugin to decide
16 years ago
Charlie Brej
527301416a
Plug various memory leaks
16 years ago
Ray Strode
dee4a85787
Require plymouthd to be run as root
16 years ago
Ray Strode
de640c616f
Fix typo
...
forgot a state->
16 years ago
Ray Strode
a284953e42
Actually fix serial console loop
16 years ago
Ray Strode
ca07ac0c34
Fix console iterating patch from two commits ago
...
It was an infinite loop
16 years ago
Ray Strode
d12ae10a70
Strip out , when parsing console
...
Options can be passed to the console, we should
ignore them when opening the console.
16 years ago
Ray Strode
a07d23afd4
Use the last console instead of first console
...
If the kernel command line specifies more than
one console, then the last console is /dev/console
16 years ago
Ray Strode
3822e3573d
Add notification to splash plugins when / gets mounted
...
We'll need it to know when we can dlopen support libraries
for rendering text.
16 years ago
Ray Strode
5933f71f43
Make daemon pass client sent password prompt to splash plugins
...
They don't currently do anything with the message but they
at least now get it so they conceivably could.
16 years ago
Ray Strode
3141ec7afc
Force details plugin if serial console is present
...
It's the only plugin that supports a NULL window right
now, and it's also what the user probably wants if
they're using a serial console.
16 years ago
Ray Strode
ae67f008b6
Detect serial console and redirect messages if present
...
Previously, we were hard coding tty1. Now we send messages
to whatever is specified as the console, if a console is
specified.
16 years ago
Peter Jones
7cac3b1b6f
Don't go back into the event loop after we get a SIGABRT or SIGSEGV;
...
that causes a busy loop and is bad.
16 years ago
Ray Strode
a42c923c29
Make log viewer check spool directory for errors instead
...
of parsing boot log
Parsing the boot log is a bit messy since it's translated.
16 years ago
Ray Strode
134da00043
if an error happens during boot up spool it for the viewer
...
We store a link to the boot log in /var/spool/plymouth so that
the viewer can detect if boot up failed. It will do this by
checking if /var/log/boot.log and /var/spool/plymouth/boot.log
are the same file
16 years ago
Ray Strode
186fb1f6ed
Show detailed plugin if ask-for-password is called when no splash visible
16 years ago
Ray Strode
78bb3d17cd
Rearrange functions to prevent forward declaration
...
We're going to be calling show_detailed_splash before
implicitly in cases when there is no splash, so we
need to make sure it's high enough up in the file
16 years ago
Ray Strode
254292def2
Rearrange functions to drop forward declaration
16 years ago
Ray Strode
a68a8b736a
Use details plugin instead of bailing if no rhgb on kernel cmdline
...
We still want things like ask-for-password and logging to work.
16 years ago
Ray Strode
70b2e61d62
Add hack to make maintenance mode probably work when
...
plymouth is running
It was showing up completely blank before because console
was still redirected
17 years ago
Ray Strode
dfbde72557
Stay on tty1 for now
...
Using tty7 is making X go to vt8 and putting us on
the wrong vt for runlevel 3. Eventually, we'll need
to make X start ont he same vt as plymouth, and go
back to vt1 if doing runlevel 3.
17 years ago
Ray Strode
21b8637cac
If stop_watching_signal is called on a signal that isn't being watched, ignore
...
Previously it would assert. Really we should switch the api to have a signal_watch
object much like the fd_watch object we have for watch_fd.
17 years ago
Ray Strode
b95a46bf06
don't require window to be around at quit time
...
It's created on show-splash now, so it may not exist at quit time
17 years ago
Ray Strode
c46f2a10a7
Add --hide-splash option
...
We want to be able to hide the splash screen in the event
the user needs to interact with start up from the console.
17 years ago
Ray Strode
f1378a5218
Create window when showing splash screen instead of at startup
...
This will make it easier to add a --hide-splash option, which
will provide an escape hatch for repair mode etc
17 years ago
Ray Strode
645f474d65
Make details plugin go back to default plugin if escape is pressed again
...
This fixes the TODO item:
- consider making details plugin go back to pretty plugin
if user presses escape
17 years ago
Ray Strode
eb47bef71c
change to root directory before trying to access files
...
This fixes running plymouth after bootup
17 years ago
Ray Strode
cc0fc4e577
/Really/ exit cleanly if rhgb isn't present on kernel cmdline
...
Unlike b7f4399294
which was
broken
17 years ago
Ray Strode
47fc6b6e39
hide /var/log behind a define
17 years ago
Ray Strode
b7f4399294
Exit cleanly if rhgb is not on the command line
17 years ago
Ray Strode
3592a97414
Only run if rhgb is on the command line
17 years ago
Ray Strode
25663f934b
Go back to text mode on quit
17 years ago
Ray Strode
4239c79497
only free old splash plugin on escape if there was an old one
17 years ago
Ray Strode
e77d7112d8
return to text mode on crash
17 years ago
Peter Jones
a6f91f55b1
Name the default plugin "default.so", not "graphical.so", so that it's obvious what's going on there.
17 years ago
Peter Jones
eed091a216
Fix obviously broken code I committed yesterday.
17 years ago
Peter Jones
3737f21226
Don't treat "vga=791" the same thing as " 1 ". Also, change the chroot logging.
17 years ago
Ray Strode
3a2743efa9
Change default splash plugin to generic "graphical"
17 years ago
Ray Strode
9116a69e37
Change to vt window is running on after creating window
17 years ago
Ray Strode
16418b38ea
Don't try to close session on_quit if it wasn't ever opened
17 years ago
Ray Strode
6287646e24
redirect console io to tty7
17 years ago
Peter Jones
620e947711
Add "plymouth --newroot=/sysroot" support, and make --sysinit open the log.
17 years ago
Ray Strode
129f3bd681
Use vt7 by default
17 years ago
Ray Strode
34d6c76b2f
Change window to take a vt number instead of a tty device file
...
We are going to want to change to the vt of the tty that we're
using for the window. This means we need to know the vt number
instead of the device file. From the number we can derive the
device filename.
17 years ago
Peter Jones
1836d8b52c
Get rid of everything about directory switching and PLY_WORKING_DIRECTORY.
17 years ago
Peter Jones
44ab737bd0
Make plymouth_should_be_running() be less manual, and add " init=" handler.
17 years ago
Peter Jones
74c016281d
Remove a bunch of chroot and fs mounting/unmounting code.
17 years ago
Ray Strode
e2f2d38e94
invert conditional
...
When adding the password object in commit
f5a15611fb
I messed up and inverted a conditional.
17 years ago
Ray Strode
fe6ba292f5
Don't require argc > 1
17 years ago