summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/BlockDevice
diff options
context:
space:
mode:
authorOliver Tappe2008-01-22 21:03:00 +0100
committerOliver Tappe2008-01-22 21:03:00 +0100
commitb8d2bb380eb4df30287af4c41e9f0dd2cb67be1c (patch)
treec5dfa41f4805c082e8a9b3f47b4ac0bd69b50e24 /installer/OpenSLX/OSExport/BlockDevice
parent* extract debug-level from kernel_params and add pass it (diff)
downloadcore-b8d2bb380eb4df30287af4c41e9f0dd2cb67be1c.tar.gz
core-b8d2bb380eb4df30287af4c41e9f0dd2cb67be1c.tar.xz
core-b8d2bb380eb4df30287af4c41e9f0dd2cb67be1c.zip
* added support to the OSExport engine for determining the
required tools, too (not only the kernel modules) - such that MakeInitRamFS::Engine can now find out which tools are *required* by a specific system and can copy those (and bail if they are not available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1485 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSExport/BlockDevice')
-rw-r--r--installer/OpenSLX/OSExport/BlockDevice/AoE.pm11
-rw-r--r--installer/OpenSLX/OSExport/BlockDevice/Base.pm4
-rw-r--r--installer/OpenSLX/OSExport/BlockDevice/NBD.pm9
3 files changed, 22 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSExport/BlockDevice/AoE.pm b/installer/OpenSLX/OSExport/BlockDevice/AoE.pm
index b0439a6d..9a7450f5 100644
--- a/installer/OpenSLX/OSExport/BlockDevice/AoE.pm
+++ b/installer/OpenSLX/OSExport/BlockDevice/AoE.pm
@@ -77,7 +77,16 @@ sub requiredBlockDeviceModules
{
my $self = shift;
- return 'aoe';
+ return qw( aoe );
+}
+
+sub requiredBlockDeviceTools
+{
+ my $self = shift;
+
+ # TODO: is there any such tool?
+
+ return;
}
sub showExportConfigInfo
diff --git a/installer/OpenSLX/OSExport/BlockDevice/Base.pm b/installer/OpenSLX/OSExport/BlockDevice/Base.pm
index 3650e8be..80868a80 100644
--- a/installer/OpenSLX/OSExport/BlockDevice/Base.pm
+++ b/installer/OpenSLX/OSExport/BlockDevice/Base.pm
@@ -44,6 +44,10 @@ sub requiredBlockDeviceModules
{
}
+sub requiredBlockDeviceTools
+{
+}
+
sub showExportConfigInfo
{
}
diff --git a/installer/OpenSLX/OSExport/BlockDevice/NBD.pm b/installer/OpenSLX/OSExport/BlockDevice/NBD.pm
index 1199a4dc..fff4b024 100644
--- a/installer/OpenSLX/OSExport/BlockDevice/NBD.pm
+++ b/installer/OpenSLX/OSExport/BlockDevice/NBD.pm
@@ -71,7 +71,14 @@ sub requiredBlockDeviceModules
{
my $self = shift;
- return 'nbd';
+ return qw( nbd );
+}
+
+sub requiredBlockDeviceTools
+{
+ my $self = shift;
+
+ return qw( nbd-client );
}
sub showExportConfigInfo