dslinux/vendors/Nintendo/GBAMP Makefile

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


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

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/Makefile,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Makefile	31 Aug 2006 17:56:29 -0000	1.28
+++ Makefile	28 Oct 2006 14:38:13 -0000	1.29
@@ -14,9 +14,9 @@
 FATFS	 = gbamp
 
 
-ROMFS_DIRS = dev etc proc sbin $(FATFS)/linux
+ROMFS_DIRS = boot dev proc sbin $(FATFS)/linux
 
-FS_DIRS = home lib usr/bin usr/share/udhcpc var/tmp var/run etc etc/rc.d
+FS_DIRS = etc/rc.d home lib usr/bin usr/share/udhcpc var/tmp var/run
 
 DEVICES = \
 	tty,c,5,0      console,c,5,1      cua0,c,5,64      cua1,c,5,65  \
@@ -74,18 +74,13 @@
 	$(ROMFSINST) -s $(FATFS)/linux/usr /usr
 	$(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) -s /usr/share/udhcpc/resolv.conf /etc/resolv.conf
-	$(ROMFSINST) -s /$(FATFS)/linux/etc/rc.local /etc/rc.local
-	$(ROMFSINST) -s /$(FATFS)/linux/etc/rc.conf /etc/rc.conf
-	$(ROMFSINST) -s /$(FATFS)/linux/etc/rc.d /etc/rc.d
-	$(ROMFSINST) -s /$(FATFS)/linux/etc/hosts /etc/hosts
-	$(ROMFSINST) /etc/rc
-	$(ROMFSINST) /etc/inittab
-	$(ROMFSINST) /etc/issue
-	$(ROMFSINST) $(NDS_COMMON)/passwd /etc/passwd
-	$(ROMFSINST) $(NDS_COMMON)/rc.common /etc/rc.common
-	$(ROMFSINST) $(NDS_COMMON)/rc.defaults /etc/rc.defaults
+	$(ROMFSINST) /boot/rc
+	$(ROMFSINST) /boot/inittab
+	$(ROMFSINST) /$(FATFS)/linux/etc/issue
+	$(ROMFSINST) $(NDS_COMMON)/rc.common /$(FATFS)/linux/etc/rc.common
+	$(ROMFSINST) $(NDS_COMMON)/rc.defaults /$(FATFS)/linux/etc/rc.defaults
 	for f in $(NDS_COMMON)/rc.d/*; do \
 		[ -d $$f ] || $(ROMFSINST) $$f /$(FATFS)/linux/etc/rc.d/ ; \
 	done




More information about the dslinux-commit mailing list