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

Auke Kok sofar at lunar-linux.org
Tue Nov 15 23:31:43 UTC 2005


Author: sofar
Date: 2005-11-15 23:31:38 +0000 (Tue, 15 Nov 2005)
New Revision: 17343

Modified:
   lunar-iso/trunk/scripts/kernels
Log:
make these links in the right location.


Modified: lunar-iso/trunk/scripts/kernels
===================================================================
--- lunar-iso/trunk/scripts/kernels	2005-11-15 23:16:16 UTC (rev 17342)
+++ lunar-iso/trunk/scripts/kernels	2005-11-15 23:31:38 UTC (rev 17343)
@@ -105,9 +105,9 @@
     # cp -aL $ISO_SOURCE/kernels/linux-$VERSION/include/asm $ISO_SOURCE/kernels/BUILD/usr/include/linux-$VERSION$1/asm
     # cp -aL $ISO_SOURCE/kernels/linux-$VERSION/include/linux $ISO_SOURCE/kernels/BUILD/usr/include/linux-$VERSION$1/linux
     cd $ISO_SOURCE/kernels/BUILD
-	rm -f build source
-	ln -sf /usr/src/linux-$VERSION build
-	ln -sf /usr/src/linux-$VERSION source
+	rm -f lib/modules/$VERSION$1/{build,source}
+	ln -sf /usr/src/linux-$VERSION lib/modules/$VERSION$1/build
+	ln -sf /usr/src/linux-$VERSION lib/modules/$VERSION$1/source
     tar cjf $ISO_SOURCE/kernels/TAR/$VERSION$1.tar.bz2 boot/ lib/ usr/
     cd $ISO_SOURCE/kernels
     rm -rf $ISO_SOURCE/kernels/BUILD



More information about the Lunar-commits mailing list