From 78a77be447311f092e92c19b0371379f533c4ec5 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 16 Feb 2008 17:18:42 +0000 Subject: 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 --- os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm') 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; -- cgit v1.2.3-55-g7522