[Lunar-commits] <moonbase-core> glibc: Touch alien symlinks.

Peter de Ridder peter at lunar-linux.org
Sat Sep 7 08:44:37 CEST 2013


commit 33018079947b6b9ead0c1ad379604d8cec177484
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Tue, 27 Aug 2013 01:57:08 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/33018079947b6b9ead0c1ad379604d8cec177484

glibc: Touch alien symlinks.
---
  libs/glibc/BUILD        | +6/-3     
  libs/glibc/BUILD.x86_64 | +6/-3     
  2 files changed, 12 insertions(+), 6 deletions(-)

--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -1,4 +1,3 @@
-(
   # The fortify compiler option cause the build to fail
   bad_flags -D_FORTIFY_SOURCE=2  &&
 
@@ -153,6 +152,10 @@
     done
     invoke_installwatch  &&
     touch /usr/lib/locale/locale-archive
-  fi
+  fi  &&
+
+  # Touch undetected symlinks
+  touch -c -h $LD $GLIBC $DL $M $RT $PTHREAD $NSS $UTIL $NSL $CRYPT /lib/lib{BrokenLocale.so.1,anl.so.1,cidn.so.1,nss_compat.so.2,nss_db.so.2,nss_dns.so.2,nss_hesiod.so.2,nss_nis.so.2,nss_nisplus.so.2,resolv.so.2,thread_db.so.1}  &&
+  touch -c -h /usr/lib/lib{BrokenLocale,anl,cidn,crypt,dl,m,nsl,nss_compat,nss_db,nss_dns,nss_files,nss_hesiod,nss_nis,nss_nisplus,resolv,rt,thread_db,util}.so  &&
 
-) > $C_FIFO 2>&1 && ldconfig
+  ldconfig
--- a/libs/glibc/BUILD.x86_64
+++ b/libs/glibc/BUILD.x86_64
@@ -1,4 +1,3 @@
-(
   # The fortify compiler option cause the build to fail
   bad_flags -D_FORTIFY_SOURCE=2  &&
 
@@ -143,6 +142,10 @@
     done
     invoke_installwatch  &&
     touch /usr/lib/locale/locale-archive
-  fi
+  fi  &&
+
+  # Touch undetected symlinks
+  touch -c -h $LD $GLIBC $DL $M $RT $PTHREAD $NSS $UTIL $NSL $CRYPT /lib/lib{BrokenLocale.so.1,anl.so.1,cidn.so.1,nss_compat.so.2,nss_db.so.2,nss_dns.so.2,nss_hesiod.so.2,nss_nis.so.2,nss_nisplus.so.2,resolv.so.2,thread_db.so.1}  &&
+  touch -c -h /usr/lib/lib{BrokenLocale,anl,cidn,crypt,dl,m,nsl,nss_compat,nss_db,nss_dns,nss_files,nss_hesiod,nss_nis,nss_nisplus,resolv,rt,thread_db,util}.so  &&
 
-) > $C_FIFO 2>&1 && ldconfig
+  ldconfig




More information about the Lunar-commits mailing list