diff options
author | Oliver Tappe | 2008-02-16 18:18:42 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-16 18:18:42 +0100 |
commit | 78a77be447311f092e92c19b0371379f533c4ec5 (patch) | |
tree | c6d0fd0d52cd29e346362250d3579e0ca8f2be3b /os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | |
parent | * when invoking init-hook scripts and plugin scripts, now only *.sh files (diff) | |
download | core-78a77be447311f092e92c19b0371379f533c4ec5.tar.gz core-78a77be447311f092e92c19b0371379f533c4ec5.tar.xz core-78a77be447311f092e92c19b0371379f533c4ec5.zip |
Refactored call-out to plugins when making the initramfs:
* The code for setting up the plugin in the initramfs has been moved into
the plugin base, as this makes it possible for any plugin to override it
(should the need ever arise).
* The plugin scripts themselves are now being copied into the initramfs,
instead of being part of the config-TGZ - they are static scripts, so
there's no need to make them part of the config. Only the actual settings
of each plugin are part of the config-TGZ now.
* Cleaned up most accesses from plugins to private data of the makeInitRamFS-
engine.
I have tested with these changes with Ubuntu and Debian, and splashy still works
for both, so it should be ok.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1551 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm')
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm index b466dd17..d3d5375a 100644 --- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm +++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm @@ -25,7 +25,9 @@ sub new { my $class = shift; - my $self = {}; + my $self = { + name => 'vmware', + }; return bless $self, $class; } @@ -83,9 +85,7 @@ sub suggestAdditionalKernelModules my $makeInitRamFSEngine = shift; # simply suggest these and see where we go from there (what is vmblock?) - my @suggestedModules = qw( vmmon vmnet vmblock ); - - return @suggestedModules; + return qw( vmmon vmnet vmblock ); } 1; |