summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-04-15 13:33:43 +0200
committerOliver Tappe2007-04-15 13:33:43 +0200
commitb2ff07395c692dd7164a5a5434ef9ae9e83d7ce6 (patch)
treec6944164191cd3f1e43047ab13d3be421989c4e9 /installer/OpenSLX/OSSetup/MetaPackager/Base.pm
parent* activated check for required modules in slxos-export, such that you can onl... (diff)
downloadcore-b2ff07395c692dd7164a5a5434ef9ae9e83d7ce6.tar.gz
core-b2ff07395c692dd7164a5a5434ef9ae9e83d7ce6.tar.xz
core-b2ff07395c692dd7164a5a5434ef9ae9e83d7ce6.zip
* improved installer such that it can continue in case the basic system had been successully
created in a previous run (it used to break in that case, complaining about several folders not being empty). * added support for invoking any potential vendor-specific configuration script (like SuSEconfig) after each metapackager session. Implemented invocation of SuSEconfig for all supported SUSE distros. This improves the result of an installation a lot, as it brings the system into a more directly usable state. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@892 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/MetaPackager/Base.pm')
-rw-r--r--installer/OpenSLX/OSSetup/MetaPackager/Base.pm18
1 files changed, 17 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/MetaPackager/Base.pm b/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
index be11ae51..313460f6 100644
--- a/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
+++ b/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
@@ -51,8 +51,24 @@ sub installSelection
{
}
-sub clean
+sub startSession
{
+ my $self = shift;
+
+ system('mount -t proc proc /proc 2>/dev/null');
+
+ $self->{engine}->{distro}->startSession();
+ # allow vendor specific extensions
+}
+
+sub finishSession
+{
+ my $self = shift;
+
+ $self->{engine}->{distro}->finishSession();
+ # allow vendor specific extensions
+
+ system('umount /proc 2>/dev/null');
}
1;