r1887

dslinux_amadeus at dslinux.in-berlin.de dslinux_amadeus at dslinux.in-berlin.de
Fri Sep 14 17:46:26 CEST 2007


Author: amadeus
Date: 2007-09-14 17:46:21 +0200 (Fri, 14 Sep 2007)
New Revision: 1887

Log:
Add a ramdisk at /tmp, to allow unix sockets here

Modified: trunk/vendors/Nintendo/DLDI/Makefile
===================================================================
--- trunk/vendors/Nintendo/DLDI/Makefile	2007-09-14 15:44:10 UTC (rev 1886)
+++ trunk/vendors/Nintendo/DLDI/Makefile	2007-09-14 15:46:21 UTC (rev 1887)
@@ -74,7 +74,6 @@
 	$(ROMFSINST) -s $(FATFS)/linux/usr/bin /bin
 	$(ROMFSINST) -s $(FATFS)/linux/home /home
 	$(ROMFSINST) -s $(FATFS)/linux/etc /etc
-	$(ROMFSINST) -s /var/tmp /tmp
 	$(ROMFSINST) /boot/rc
 	$(ROMFSINST) /boot/inittab
 	$(ROMFSINST) /$(FATFS)/linux/etc/issue
@@ -91,6 +90,7 @@
 	[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
 	[ -d $(IMAGEDIR)/linux ] || mkdir -p $(IMAGEDIR)/linux
 	$(CROSS_COMPILE)flthdr -z $(ROMFSDIR)/bin/*
+	mkdir -p $(ROMFSDIR)/tmp
 	rm -r $(ROMFSDIR)/bin
 	mkdir $(ROMFSDIR)/bin
 	-for i in `sort $(ROOTDIR)/user/busybox/busybox.links` ; do\

Modified: trunk/vendors/Nintendo/DLDI/rc
===================================================================
--- trunk/vendors/Nintendo/DLDI/rc	2007-09-14 15:44:10 UTC (rev 1886)
+++ trunk/vendors/Nintendo/DLDI/rc	2007-09-14 15:46:21 UTC (rev 1887)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 mount -t proc none /proc
-mount -t vfat -o noatime /dev/dldi1 /media
+mount -t vfat -o noatime,dmask=000 /dev/dldi1 /media
 # some CF cards do not have a partition table
 # try mounting /dev/dldi if mounting /dev/dldi1 fails
 if [ "$?" != "0" ]
@@ -10,4 +10,5 @@
 	[ "$?" = "0" ] || echo "Sorry, failed to mount DLDI device."
 fi
 mount -t ramfs none /var/run
+mount -t ramfs none /tmp
 . /etc/rc.common




More information about the dslinux-commit mailing list