summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/MetaPackager
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/MetaPackager')
-rw-r--r--installer/OpenSLX/OSSetup/MetaPackager/Base.pm4
-rw-r--r--installer/OpenSLX/OSSetup/MetaPackager/yum.pm18
2 files changed, 17 insertions, 5 deletions
diff --git a/installer/OpenSLX/OSSetup/MetaPackager/Base.pm b/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
index c9e6a44e..be11ae51 100644
--- a/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
+++ b/installer/OpenSLX/OSSetup/MetaPackager/Base.pm
@@ -51,6 +51,10 @@ sub installSelection
{
}
+sub clean
+{
+}
+
1;
################################################################################
diff --git a/installer/OpenSLX/OSSetup/MetaPackager/yum.pm b/installer/OpenSLX/OSSetup/MetaPackager/yum.pm
index 0294fd17..e368b556 100644
--- a/installer/OpenSLX/OSSetup/MetaPackager/yum.pm
+++ b/installer/OpenSLX/OSSetup/MetaPackager/yum.pm
@@ -71,6 +71,17 @@ sub setupPackageSource
close(REPO);
}
+sub installSelection
+{
+ my $self = shift;
+ my $pkgSelection = shift;
+
+ if (slxsystem("yum -y install $pkgSelection")) {
+ die _tr("unable to install selection (%s)\n", $!);
+ }
+ slxsystem('rm /proc/cpuinfo');
+}
+
sub updateBasicVendorOS
{
my $self = shift;
@@ -84,14 +95,11 @@ sub updateBasicVendorOS
}
}
-sub installSelection
+sub cleanup
{
my $self = shift;
- my $pkgSelection = shift;
- if (slxsystem("yum -y install $pkgSelection")) {
- die _tr("unable to install selection (%s)\n", $!);
- }
+ slxsystem('umount /proc');
slxsystem('rm /proc/cpuinfo');
}