r1939 - trunk/packages/initramfs

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Thu Jun 28 06:05:47 PDT 2007


Author: alexander
Date: 2007-06-28 07:05:47 -0600 (Thu, 28 Jun 2007)
New Revision: 1939

Modified:
   trunk/packages/initramfs/init.in
Log:
Fixed the /drivers symlink on the -nosrc CD

Modified: trunk/packages/initramfs/init.in
===================================================================
--- trunk/packages/initramfs/init.in	2007-06-28 12:25:47 UTC (rev 1938)
+++ trunk/packages/initramfs/init.in	2007-06-28 13:05:47 UTC (rev 1939)
@@ -151,12 +151,12 @@
 	mount -n --move /.tmpfs /.root/dev/shm
 	if [ "$toram" != 1 ] ; then
 		cp -a /dev/lfs-cd /.root/dev/lfs-cd
+		ln -sf /dev/shm/.cdrom/drivers /.root/drivers
 	fi
 	cat /etc/modprobe.conf >>/.root/etc/modprobe.conf
 	ln -sf issue.$cdtype /.root/etc/issue
 	if [ "$cdtype" = "fullcd" ] ; then
 		ln -sf /dev/shm/.cdrom/lfs-sources /.root/lfs-sources
-		ln -sf /dev/shm/.cdrom/drivers /.root/drivers
 	fi
 	if [ "$nodhcp" = "1" ] ; then
 		rm -f /.root/etc/udev/rules.d/76-network.rules




More information about the livecd mailing list