From 22b54e12d4eb06abccbfa19f5cf1487a4944f6b6 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 28 May 2007 15:58:30 +0000 Subject: * 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 --- installer/OpenSLX/OSSetup/Distro/Base.pm | 3 +++ installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm | 1 + installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm | 1 + installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm | 1 + installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm | 1 + installer/OpenSLX/OSSetup/Engine.pm | 3 --- 6 files changed, 7 insertions(+), 3 deletions(-) (limited to 'installer') 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); -- cgit v1.2.3-55-g7522