filesystems:
authorHolger Freyther <zecke@selfish.org>
Mon, 11 Oct 2004 00:11:35 +0000 (00:11 +0000)
committerHolger Freyther <zecke@selfish.org>
Mon, 11 Oct 2004 00:11:35 +0000 (00:11 +0000)
-Provide filesystems to check for when mounting a filesystem of type auto.
 With '*' fallback to /proc/filesystems

Beagle:
-Provide a smaller filesystems with only ext2,vfat and fallback
-Change fstab to mount the 2nd flashbank as /root

BKrev: 4169cfb7-K5WNQvYDYMu7sKuEElmGw

base-files/base-files/beagle/filesystems [new file with mode: 0644]
base-files/base-files/beagle/fstab
base-files/base-files/filesystems [new file with mode: 0644]
base-files/base-files_3.0.14.oe

diff --git a/base-files/base-files/beagle/filesystems b/base-files/base-files/beagle/filesystems
new file mode 100644 (file)
index 0000000..e69de29
index c9305c0..8a7385c 100644 (file)
@@ -1,4 +1,5 @@
-/dev/mtdblock1 /       jffs2   defaults        1  1 
+/dev/mtdblock1 /       jffs2   defaults        1  1
+/dev/mtdblock/2        /root   jffs2   defaults        1  1 
 proc            /proc   proc    defaults        0  0
 /dev/hda1      /mnt/cf auto    defaults,sync,noauto,noatime,user,exec,suid     0  0
 /dev/mmcda1    /mnt/card       auto    defaults,sync,noauto,noatime,user,exec,suid     0  0
diff --git a/base-files/base-files/filesystems b/base-files/base-files/filesystems
new file mode 100644 (file)
index 0000000..e69de29
index 1bdc029..12452c4 100644 (file)
@@ -10,6 +10,7 @@ SRC_URI = " \
            file://etc/host.conf \
            file://profile \
            file://fstab \
+          file://filesystems \
            file://issue.net \
            file://issue \
            file://usbd \
@@ -36,7 +37,7 @@ SRC_URI = " \
            file://licenses/GPL-2 \
            file://licenses/LGPL-2 \
            file://licenses/LGPL-2.1 \
-           file://licenses/Artistic"
+           file://licenses/Artistic "     
 S = "${WORKDIR}"
 
 docdir_append = "/${P}"
@@ -63,6 +64,7 @@ do_install () {
 
     install -d ${D}/${sysconfdir}/default
     install -m 0644 ${WORKDIR}/fstab ${D}/${sysconfdir}/fstab
+    install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
     install -m 0644 ${WORKDIR}/usbd ${D}/${sysconfdir}/default/usbd
     [ -z "${MACHINE}" ] && echo "openembedded" >${D}/${sysconfdir}/hostname || echo ${MACHINE} >${D}/${sysconfdir}/hostname
     install -m 0644 ${WORKDIR}/profile ${D}/${sysconfdir}/profile
@@ -131,7 +133,6 @@ do_install_append_ramses () {
     ln -s var/tmp ${D}/tmp
 }
 
-
 PACKAGES = "${PN}-doc ${PN}"
 FILES_${PN} = "/"
 FILES_${PN}-doc = "/usr/share/doc /usr/share/common-licenses"