summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-05-06 20:22:48 +0200
committerOliver Tappe2007-05-06 20:22:48 +0200
commit8cb009f50a801bddc993ca3177e4fd768f912294 (patch)
tree4e7ea6a14c8490213913d5c22dd0f7d6d41895c5 /installer
parent* fixed bug that inhibited busybox to drag the required libs along (diff)
downloadcore-8cb009f50a801bddc993ca3177e4fd768f912294.tar.gz
core-8cb009f50a801bddc993ca3177e4fd768f912294.tar.xz
core-8cb009f50a801bddc993ca3177e4fd768f912294.zip
* added support to exporter modules for passing out the required fs-modules
* improved config-demuxer to ask exporter for required fs-mods and pass this to mkdxsinitrd git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1019 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSExport/Engine.pm7
-rw-r--r--installer/OpenSLX/OSExport/ExportType/Base.pm7
-rw-r--r--installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm7
-rw-r--r--installer/OpenSLX/OSExport/ExportType/NFS.pm7
4 files changed, 28 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm
index 690a56c7..77b21eaa 100644
--- a/installer/OpenSLX/OSExport/Engine.pm
+++ b/installer/OpenSLX/OSExport/Engine.pm
@@ -158,6 +158,13 @@ sub purgeExport
$self->removeExportFromConfigDB();
}
+sub requiredFSMods
+{
+ my $self = shift;
+
+ return $self->{exporter}->requiredFSMods();
+}
+
################################################################################
### implementation methods
################################################################################
diff --git a/installer/OpenSLX/OSExport/ExportType/Base.pm b/installer/OpenSLX/OSExport/ExportType/Base.pm
index 3954bfa9..ccf21826 100644
--- a/installer/OpenSLX/OSExport/ExportType/Base.pm
+++ b/installer/OpenSLX/OSExport/ExportType/Base.pm
@@ -60,6 +60,13 @@ sub addExportToConfigDB
return $openslxDB->addExport($export);
}
+sub requiredFSMods
+{
+ my $self = shift;
+
+ return '';
+}
+
################################################################################
### implementation methods
################################################################################
diff --git a/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm b/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm
index 52395b65..ec25d067 100644
--- a/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm
+++ b/installer/OpenSLX/OSExport/ExportType/NBD_Squash.pm
@@ -111,6 +111,13 @@ sub addExportToConfigDB
return $res;
}
+sub requiredFSMods
+{
+ my $self = shift;
+
+ return 'nbd squashfs';
+}
+
################################################################################
### implementation methods
################################################################################
diff --git a/installer/OpenSLX/OSExport/ExportType/NFS.pm b/installer/OpenSLX/OSExport/ExportType/NFS.pm
index b25736b8..dad07b57 100644
--- a/installer/OpenSLX/OSExport/ExportType/NFS.pm
+++ b/installer/OpenSLX/OSExport/ExportType/NFS.pm
@@ -58,6 +58,13 @@ sub purgeExport
1;
}
+sub requiredFSMods
+{
+ my $self = shift;
+
+ return 'nfs';
+}
+
################################################################################
### implementation methods
################################################################################