summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Engine.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-03-15 19:35:27 +0100
committerOliver Tappe2008-03-15 19:35:27 +0100
commitd7e11726bbd2f8ce5fb6d756fd9bad9a709d988f (patch)
tree3be4897b4d6228c6f107e0f3e326a6f9dae2ad65 /installer/OpenSLX/OSSetup/Engine.pm
parent* added support for stage1 attributes that are stored along each plugin insta... (diff)
downloadcore-d7e11726bbd2f8ce5fb6d756fd9bad9a709d988f.tar.gz
core-d7e11726bbd2f8ce5fb6d756fd9bad9a709d988f.tar.xz
core-d7e11726bbd2f8ce5fb6d756fd9bad9a709d988f.zip
* intermediate checking for new desktop plugin (successor of displaymanager
with extended scope) - does not work yet, so please do not use! git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1634 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm17
1 files changed, 15 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index e4b07260..3a112d35 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -520,7 +520,7 @@ sub callChrootedFunctionForVendorOS
$self->{'vendor-os-name'}
)
);
- return;
+ return 1;
}
sub removeVendorOS
@@ -689,6 +689,19 @@ sub metaPackager
return $self->{'meta-packager'};
}
+sub getPackagesForSelection
+{
+ my $self = shift;
+ my $selKey = shift;
+
+ return if !$selKey;
+
+ my $selection = $self->{'distro-info'}->{selection}->{$selKey};
+ return if !$selection;
+
+ return $selection->{packages};
+}
+
sub busyboxBinary
{
my $self = shift;
@@ -1717,7 +1730,7 @@ sub _installPlugins
: _tr("installing default plugins...\n")
);
for my $pluginInfo (@$plugins) {
- my $pluginName = $pluginInfo->{name};
+ my $pluginName = $pluginInfo->{plugin_name};
my $pluginEngine = OpenSLX::OSPlugin::Engine->new();
vlog(0, _tr("\t%s\n", $pluginName));
$pluginEngine->initialize(