summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Engine.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-08-17 23:44:29 +0200
committerDirk von Suchodoletz2009-08-17 23:44:29 +0200
commitbb3418c7573360818c59e34b274ffd13a0c067f0 (patch)
tree878ab79cff00b0ed151812650a5f463f574b82d9 /installer/OpenSLX/OSSetup/Engine.pm
parentAdded backward compatibility to 2.x (diff)
downloadcore-bb3418c7573360818c59e34b274ffd13a0c067f0.tar.gz
core-bb3418c7573360818c59e34b274ffd13a0c067f0.tar.xz
core-bb3418c7573360818c59e34b274ffd13a0c067f0.zip
Adding uclibs to the library path (not completed yet) to render the
uclib-wrapper unneeded ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3096 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index c614c081..0f4d725a 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -266,6 +266,7 @@ sub installVendorOS
);
$self->_copyUclibcRootfs();
+ $self->{distro}->updateDistroConfig();
$self->_touchVendorOS();
$self->addInstalledVendorOSToConfigDB();
return;
@@ -1051,10 +1052,10 @@ sub _copyUclibcRootfs
{
my $self = shift;
my $targetRoot = shift || $self->{'vendor-os-path'};
+ my $distro = $self->{distro};
vlog(0, _tr("copying uclibc-rootfs into vendor-OS ...\n"));
- # my $targetRoot = $self->{'vendor-os-path'};
my $target = "$targetRoot/opt/openslx/uclib-rootfs";
if (system("mkdir -p $target")) {
@@ -1097,6 +1098,7 @@ sub _copyUclibcRootfs
or die _tr("unable to copy to target '%s', giving up! (%s)",
$target, $!);
# add the uclibs to the ld.so.conf
+ $distro->addUclibLdconfig($targetRoot);
# write version of uclibc-rootfs original into a file in order to be
# able to check the up-to-date state later (in the config-demuxer)