diff options
author | Oliver Tappe | 2008-01-13 19:19:14 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-01-13 19:19:14 +0100 |
commit | db3bdeb697a06b35cce61b52d83858757e82b8ec (patch) | |
tree | 4edca1f2e15dc4fcb6a7f77e1a65727743fdf320 /lib | |
parent | * avoid possible warnings about undefined values in regex-substitution (diff) | |
download | core-db3bdeb697a06b35cce61b52d83858757e82b8ec.tar.gz core-db3bdeb697a06b35cce61b52d83858757e82b8ec.tar.xz core-db3bdeb697a06b35cce61b52d83858757e82b8ec.zip |
reimplemented splashy stuff via Theme plugin:
* activated invocation of init-hooks
* removed explicit splashy calls from init (they are now done
in several init-hooks provided by the Theme plugin)
* the stage3 plugins are now invoked via '.' instead via a separate
shell, such that they can export changed environment variables
* changed invocation of initial_boot() - we now pass in the list
of initscripts as otherwise I have been unable to let this function
access a changed D_INITSCRIPTS variable (it would only see initial
content)
* moved invocation of initial_boot from servconfig to init (again
such that a changed D_INITSCRIPTS will be handled correctly)
* config-demuxer now passes the active plugins into mkdxsinitrd
* mkdxsinitrd accepts a list of active plugins (-p) and copies
the hooks directly into the initialramfs, such that they are
available immediately in stage3
The bootsplash stuff (splashy) seems to work properly, but the handling of displaymanager themes is currently broken. I will look into
that tomorrow.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1472 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'lib')
-rw-r--r-- | lib/OpenSLX/Utils.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OpenSLX/Utils.pm b/lib/OpenSLX/Utils.pm index f3a13e48..7668cba0 100644 --- a/lib/OpenSLX/Utils.pm +++ b/lib/OpenSLX/Utils.pm @@ -123,7 +123,7 @@ sub slurpFile sub spitFile { my $fileName = shift || croak 'need to pass in a fileName!'; - my $content = shift; + my $content = shift || ''; my $flags = shift || {}; checkParams($flags, { |