summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro/Base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro/Base.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Base.pm12
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")) {