dslinux/vendors/Nintendo/RAM Makefile
stsp
stsp at user.in-berlin.de
Sat Oct 28 16:38:15 CEST 2006
Update of /cvsroot/dslinux/dslinux/vendors/Nintendo/RAM
In directory antilope:/tmp/cvs-serv12585/vendors/Nintendo/RAM
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/RAM/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile 8 Oct 2006 12:15:01 -0000 1.4
+++ Makefile 28 Oct 2006 14:38:13 -0000 1.5
@@ -10,9 +10,9 @@
FATFS = media
-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 \
@@ -76,18 +76,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