[Lunar-commits] r22413 - lunar-iso/trunk/scripts

Auke Kok sofar at lunar-linux.org
Sat Dec 2 19:59:13 CET 2006


Author: sofar
Date: 2006-12-02 19:59:13 +0100 (Sat, 02 Dec 2006)
New Revision: 22413

Modified:
   lunar-iso/trunk/scripts/initrd
Log:
Symlinks for x86_64 needed in the initrd.


Modified: lunar-iso/trunk/scripts/initrd
===================================================================
--- lunar-iso/trunk/scripts/initrd	2006-12-02 18:53:18 UTC (rev 22412)
+++ lunar-iso/trunk/scripts/initrd	2006-12-02 18:59:13 UTC (rev 22413)
@@ -14,10 +14,14 @@
 # template first
 cp -a --no-dereference template BUILD
 find BUILD -type d -name '.svn' -exec rm -rf {} \; >/dev/null 2>&1
-mkdir -p BUILD/{mnt,proc,var/lib/discover}
+mkdir -p BUILD/{mnt,proc,var/lib/discover,usr}
 if [ "$ISO_KSUFFIX" == "2.6" ]; then
 	mkdir BUILD/sys
 fi
+if [ "$ISO_KARCH" == "x86_64" ]; then
+        ln -sf /lib BUILD/lib64
+        ln -sf /usr/lib BUILD/usr/lib64
+fi
 
 echo "+ copying binaries and required files"
 # next up are the required stuff from the BUILD



More information about the Lunar-commits mailing list