From 431e6e2f2811dc277feaca90f52466d623a74b0b Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 14 Mar 2008 22:49:57 +0000 Subject: * added support for stage1 attributes that are stored along each plugin installed into a vendor-OS. * an update of the slxos-plugin documentation is still missing (coming soon ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1633 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Engine.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'installer') diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index e539e8e3..e4b07260 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -1716,10 +1716,13 @@ sub _installPlugins ? _tr("reinstalling plugins...\n") : _tr("installing default plugins...\n") ); - for my $pluginName (@$plugins) { + for my $pluginInfo (@$plugins) { + my $pluginName = $pluginInfo->{name}; my $pluginEngine = OpenSLX::OSPlugin::Engine->new(); vlog(0, _tr("\t%s\n", $pluginName)); - $pluginEngine->initialize($pluginName, $self->{'vendor-os-name'}); + $pluginEngine->initialize( + $pluginName, $self->{'vendor-os-name'}, $pluginInfo->{attrs} + ); $pluginEngine->installPlugin(); } vlog(0, _tr("done with plugins.\n")); -- cgit v1.2.3-55-g7522