diff options
author | Dirk von Suchodoletz | 2009-08-17 23:44:29 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-08-17 23:44:29 +0200 |
commit | bb3418c7573360818c59e34b274ffd13a0c067f0 (patch) | |
tree | 878ab79cff00b0ed151812650a5f463f574b82d9 /installer/OpenSLX/OSSetup/Distro/Base.pm | |
parent | Added backward compatibility to 2.x (diff) | |
download | core-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/Distro/Base.pm')
-rw-r--r-- | installer/OpenSLX/OSSetup/Distro/Base.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm index fe56f03e..93e2fcaa 100644 --- a/installer/OpenSLX/OSSetup/Distro/Base.pm +++ b/installer/OpenSLX/OSSetup/Distro/Base.pm @@ -220,6 +220,18 @@ sub getDefaultPathList ) ]; } +sub addUclibLdconfig +{ + my $self = shift; + my $ldpath = shift; + + open(OUTFILE, ">", "$ldpath/etc/ld.so.conf.d/uclib.conf") + or die ("something went wrong"); + print OUTFILE "/opt/openslx/uclib-rootfs/lib\n"; + print OUTFILE "/opt/openslx/uclib-rootfs/usr/lib\n"; + close(OUTFILE); +} + sub updateDistroConfig { if (slxsystem("ldconfig")) { |