From 79f54de6832c09021b9bef13b62fdad03c499e5e Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 22 Aug 2010 19:04:32 +0200 Subject: Remove unneeded library ld stuff of deprecated uclibc. --- installer/OpenSLX/OSSetup/Distro/Base.pm | 24 ++++++++++++------------ installer/OpenSLX/OSSetup/Engine.pm | 23 +++++++++++------------ 2 files changed, 23 insertions(+), 24 deletions(-) (limited to 'installer') diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm index c5d23a49..524aa398 100644 --- a/installer/OpenSLX/OSSetup/Distro/Base.pm +++ b/installer/OpenSLX/OSSetup/Distro/Base.pm @@ -1,4 +1,4 @@ -# Copyright (c) 2006..2009 - OpenSLX GmbH +# Copyright (c) 2006..2010 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -230,17 +230,17 @@ sub getDefaultPathList ) ]; } -sub addUclibLdconfig -{ - my $self = shift; - #my $ldpath = shift; - - open(OUTFILE, ">", "/etc/ld.so.conf.d/uclib.conf") - or die ("unable to create the uclib.conf within ld.so.conf.d"); - print OUTFILE "/opt/openslx/uclib-rootfs/lib\n"; - print OUTFILE "/opt/openslx/uclib-rootfs/usr/lib\n"; - close(OUTFILE); -} +#sub addUclibLdconfig +#{ +# my $self = shift; +# #my $ldpath = shift; +# +# open(OUTFILE, ">", "/etc/ld.so.conf.d/uclib.conf") +# or die ("unable to create the uclib.conf within ld.so.conf.d"); +# print OUTFILE "/opt/openslx/uclib-rootfs/lib\n"; +# print OUTFILE "/opt/openslx/uclib-rootfs/usr/lib\n"; +# close(OUTFILE); +#} sub updateDistroConfig { diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 3531e92d..65a68bd4 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -282,19 +282,18 @@ sub installVendorOS # generate default openslx directories for the client $self->_generateDefaultDirs(); - # add the uclibs and tools to the stage1 and add them to library search - # path + # add the uclibs and tools to the stage1 $self->_copyUclibcRootfs(); - callInSubprocess( - sub { - $self->_callChrootedFunction({ - chrootDir => $self->{'vendor-os-path'}, - function => sub { - $self->{'distro'}->addUclibLdconfig(); - }, - updateConfig => 1, - }); - }); + #callInSubprocess( + # sub { + # $self->_callChrootedFunction({ + # chrootDir => $self->{'vendor-os-path'}, + # function => sub { + # $self->{'distro'}->addUclibLdconfig(); + # }, + # updateConfig => 1, + # }); + #}); $self->_touchVendorOS(); $self->addInstalledVendorOSToConfigDB(); return; -- cgit v1.2.3-55-g7522