r1707 - in trunk/vendors/Nintendo
stsp at dslinux.in-berlin.de
stsp at dslinux.in-berlin.de
Fri Apr 13 19:50:38 CEST 2007
Author: stsp
Date: 2007-04-13 19:50:33 +0200 (Fri, 13 Apr 2007)
New Revision: 1707
Log:
Mount a ramfs at /var/run. Needed for gpm.
Patch by Troy Davis (GPF).
Modified: trunk/vendors/Nintendo/DATEL/Makefile
===================================================================
--- trunk/vendors/Nintendo/DATEL/Makefile 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/DATEL/Makefile 2007-04-13 17:50:33 UTC (rev 1707)
@@ -86,7 +86,7 @@
done
$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
-
+ touch $(ROMFSDIR)/$(FATFS)/linux/var/run/.keep
image:
[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
[ -d $(IMAGEDIR)/linux ] || mkdir -p $(IMAGEDIR)/linux
Modified: trunk/vendors/Nintendo/DATEL/rc
===================================================================
--- trunk/vendors/Nintendo/DATEL/rc 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/DATEL/rc 2007-04-13 17:50:33 UTC (rev 1707)
@@ -9,5 +9,5 @@
mount -t vfat -o noatime /dev/hda /datel
[ "$?" = "0" ] || echo "Sorry, failed to mount your CF card."
fi
-
+mount -t ramfs none /var/run
. /etc/rc.common
Modified: trunk/vendors/Nintendo/DLDI/Makefile
===================================================================
--- trunk/vendors/Nintendo/DLDI/Makefile 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/DLDI/Makefile 2007-04-13 17:50:33 UTC (rev 1707)
@@ -83,7 +83,7 @@
$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
-
+ touch $(ROMFSDIR)/$(FATFS)/linux/var/run/.keep
image:
[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
[ -d $(IMAGEDIR)/linux ] || mkdir -p $(IMAGEDIR)/linux
@@ -125,4 +125,4 @@
-7 $(ROOTDIR)/$(LINUXDIR)/arch/arm/mach-nds/arm7.bin \
-r7 0x03800000 -e7 0x03800000 \
-b $(NDS_COMMON)/tux.bmp "DSLinux;Port of Linux;to the DS!" && \
- ( cd $(IMAGEDIR); tar -cvzf dslinux-dldi.tgz linux dslinux.nds ) ;
\ No newline at end of file
+ ( cd $(IMAGEDIR); tar -cvzf dslinux-dldi.tgz linux dslinux.nds ) ;
Modified: trunk/vendors/Nintendo/DLDI/rc
===================================================================
--- trunk/vendors/Nintendo/DLDI/rc 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/DLDI/rc 2007-04-13 17:50:33 UTC (rev 1707)
@@ -9,5 +9,5 @@
mount -t vfat -o noatime /dev/hda /media
[ "$?" = "0" ] || echo "Sorry, failed to mount DLDI device."
fi
-
+mount -t ramfs none /var/run
. /etc/rc.common
Modified: trunk/vendors/Nintendo/GBAMP/Makefile
===================================================================
--- trunk/vendors/Nintendo/GBAMP/Makefile 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/GBAMP/Makefile 2007-04-13 17:50:33 UTC (rev 1707)
@@ -86,7 +86,7 @@
done
$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
-
+ touch $(ROMFSDIR)/$(FATFS)/linux/var/run/.keep
image:
[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
[ -d $(IMAGEDIR)/linux ] || mkdir -p $(IMAGEDIR)/linux
Modified: trunk/vendors/Nintendo/GBAMP/rc
===================================================================
--- trunk/vendors/Nintendo/GBAMP/rc 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/GBAMP/rc 2007-04-13 17:50:33 UTC (rev 1707)
@@ -9,5 +9,5 @@
mount -t vfat -o noatime /dev/hda /gbamp
[ "$?" = "0" ] || echo "Sorry, failed to mount your CF card."
fi
-
+mount -t ramfs none /var/run
. /etc/rc.common
Modified: trunk/vendors/Nintendo/GBAMP-EXT2/Makefile
===================================================================
--- trunk/vendors/Nintendo/GBAMP-EXT2/Makefile 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/GBAMP-EXT2/Makefile 2007-04-13 17:50:33 UTC (rev 1707)
@@ -73,7 +73,7 @@
$(ROMFSINST) $(NDS_COMMON)/passwd /etc/passwd
$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
-
+ touch $(ROMFSDIR)/$(FATFS)/linux/var/run/.keep
image:
[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
$(CROSS_COMPILE)objcopy -O binary $(ELFIMAGE) $(IMAGEDIR)/arm9.bin
Modified: trunk/vendors/Nintendo/GBAMP-EXT2/rc
===================================================================
--- trunk/vendors/Nintendo/GBAMP-EXT2/rc 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/GBAMP-EXT2/rc 2007-04-13 17:50:33 UTC (rev 1707)
@@ -1,4 +1,5 @@
hostname NintendoDS
mount -t proc none /proc
mount -t vfat /dev/hda1 /gbamp
+mount -t ramfs none /var/run
fwver
Modified: trunk/vendors/Nintendo/RAM/Makefile
===================================================================
--- trunk/vendors/Nintendo/RAM/Makefile 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/RAM/Makefile 2007-04-13 17:50:33 UTC (rev 1707)
@@ -90,6 +90,8 @@
$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
+ touch $(ROMFSDIR)/$(FATFS)/linux/var/run/.keep
+
image:
[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
[ -d $(IMAGEDIR)/linux ] || mkdir -p $(IMAGEDIR)/linux
Modified: trunk/vendors/Nintendo/RAM/rc
===================================================================
--- trunk/vendors/Nintendo/RAM/rc 2007-04-13 17:39:48 UTC (rev 1706)
+++ trunk/vendors/Nintendo/RAM/rc 2007-04-13 17:50:33 UTC (rev 1707)
@@ -19,4 +19,5 @@
fi
fi
fi
+mount -t ramfs none /var/run
. /etc/rc.common
More information about the dslinux-commit
mailing list