dslinux/vendors/Nintendo/GBAMP-EXT2 Makefile

stsp stsp at user.in-berlin.de
Sat Oct 28 16:38:15 CEST 2006


Update of /cvsroot/dslinux/dslinux/vendors/Nintendo/GBAMP-EXT2
In directory antilope:/tmp/cvs-serv12585/vendors/Nintendo/GBAMP-EXT2

Modified Files:
	Makefile 
Log Message:
Move /etc out of romfs completely for builds that have CF/SD storage.
This makes /etc/passwd writable and cleans up the symlink mess in /etc.

/etc/rc and /etc/inittab have been moved to the new /boot directory,
because they need to remain in romfs.


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/Nintendo/GBAMP-EXT2/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile	31 Aug 2006 17:56:29 -0000	1.13
+++ Makefile	28 Oct 2006 14:38:13 -0000	1.14
@@ -12,7 +12,7 @@
 FATFS	 = gbamp
 
 
-ROMFS_DIRS = bin dev etc proc sbin $(FATFS)
+ROMFS_DIRS = bin boot dev proc sbin $(FATFS)
 
 FS_DIRS = home lib usr/bin usr/share/udhcpc var/tmp var/run
 
@@ -67,8 +67,8 @@
 	for i in $(FS_DIRS); do \
 		[ -d $(ROMFSDIR)/$$i ] || mkdir -p $(ROMFSDIR)/$$i; \
 	done
-	$(ROMFSINST) /etc/rc
-	$(ROMFSINST) /etc/inittab
+	$(ROMFSINST) /boot/rc
+	$(ROMFSINST) /boot/inittab
 	$(ROMFSINST) /etc/issue
 	$(ROMFSINST) $(NDS_COMMON)/passwd /etc/passwd
 	$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script




More information about the dslinux-commit mailing list