Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv12567/config/etc/initrd
Modified Files:
Tag: rel-1-2-patches
linuxrc
Log Message:
temporary fix for RUNFROMRAM=y case in default config
Index: linuxrc
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v
retrieving revision 1.70.2.15
retrieving revision 1.70.2.16
diff -u -d -r1.70.2.15 -r1.70.2.16
--- linuxrc 24 Sep 2006 15:08:28 -0000 1.70.2.15
+++ linuxrc 27 Feb 2007 23:55:21 -0000 1.70.2.16
@@ -309,6 +309,15 @@
/mount_cdrom /cdrom
fi
tar -C /shm -xjf /cdrom/config/etc.tar.bz2
+ #
+ # we unmount here to be able to possibly activate run from ram
+ # if that's activated by the default config
+ # (bug reported by Dmitry Komarov)
+ umount /cdrom
+ #
+ # FIXME - need to solve this in a nicer way as we search for
+ # the cd/image twice which is quit ugly (fl)
+ #
else
tar -C /shm -xjf /floppy/$DL_CONFIG_FILE
fi
|