summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-05-28 17:58:30 +0200
committerOliver Tappe2007-05-28 17:58:30 +0200
commit22b54e12d4eb06abccbfa19f5cf1487a4944f6b6 (patch)
tree85017a954553ea3e62a0a469bd2397161137396e /installer
parent* changed meta-packager default for all SUSE distros from 'yum' to 'smart' (diff)
downloadcore-22b54e12d4eb06abccbfa19f5cf1487a4944f6b6.tar.gz
core-22b54e12d4eb06abccbfa19f5cf1487a4944f6b6.tar.xz
core-22b54e12d4eb06abccbfa19f5cf1487a4944f6b6.zip
* added explicit invocation of 'ldconfig' to all distros, just to make sure that ld.so.cache
is up-to-date after an install or update (clone should be working, too). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1099 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Base.pm3
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm1
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm1
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm1
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm1
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm3
6 files changed, 7 insertions, 3 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm
index 7d63e049..6ed6078c 100644
--- a/installer/OpenSLX/OSSetup/Distro/Base.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Base.pm
@@ -124,6 +124,9 @@ sub startSession
sub updateDistroConfig
{
+ if (slxsystem("ldconfig")) {
+ die _tr("unable to run ldconfig (%s)", $!);
+ }
}
sub finishSession
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
index 8378bb84..dd2233c0 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
@@ -67,6 +67,7 @@ sub updateDistroConfig
if (slxsystem("SuSEconfig")) {
die _tr("unable to run SuSEconfig (%s)", $!);
}
+ $self->SUPER::updateDistroConfig();
}
sub initDistroInfo
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
index d622656d..291c9e10 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
@@ -67,6 +67,7 @@ sub updateDistroConfig
if (slxsystem("SuSEconfig")) {
die _tr("unable to run SuSEconfig (%s)", $!);
}
+ $self->SUPER::updateDistroConfig();
}
sub initDistroInfo
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
index 69f2b1e1..6bb42c6a 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
@@ -67,6 +67,7 @@ sub updateDistroConfig
if (slxsystem("SuSEconfig")) {
die _tr("unable to run SuSEconfig (%s)", $!);
}
+ $self->SUPER::updateDistroConfig();
}
sub initDistroInfo
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
index b897f1d8..a6e41d33 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
@@ -67,6 +67,7 @@ sub updateDistroConfig
if (slxsystem("SuSEconfig")) {
die _tr("unable to run SuSEconfig (%s)", $!);
}
+ $self->SUPER::updateDistroConfig();
}
sub initDistroInfo
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index d6e36a57..8e991c1e 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -883,9 +883,6 @@ sub stage1D_installPackageSelection
}
} @pkgs;
if (scalar(@pkgs) == 0) {
- vlog 0, _tr("No packages listed for selection '%s', nothing to do.",
- $selectionName);
- } else {
vlog 1, "installing these packages:\n".join("\n\t", @pkgs);
$self->{'meta-packager'}->startSession();
$self->{'meta-packager'}->installSelection(join " ", @pkgs);