diff options
author | Oliver Tappe | 2007-03-24 23:36:49 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-24 23:36:49 +0100 |
commit | f12be36bc0baefee31db880c90965f752c91d21f (patch) | |
tree | 37e45d8691801d5b58d99eca1c4f8ce8ea4f7e53 /installer/OpenSLX/OSSetup/MetaPackager/yum.pm | |
parent | * added full package set for selection 'kde' (taken from sample installation) (diff) | |
download | core-f12be36bc0baefee31db880c90965f752c91d21f.tar.gz core-f12be36bc0baefee31db880c90965f752c91d21f.tar.xz core-f12be36bc0baefee31db880c90965f752c91d21f.zip |
* fixed some minor problems with respect to meta-packager
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@819 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/MetaPackager/yum.pm')
-rw-r--r-- | installer/OpenSLX/OSSetup/MetaPackager/yum.pm | 18 |
1 files changed, 13 insertions, 5 deletions
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'); } |