summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-07-28 14:17:23 -0500
committerJohn Klug <john.klug@multitech.com>2021-07-28 14:17:23 -0500
commit71e48116fad0637b7694f4dadbb04b05a30cffbf (patch)
tree92c28421ca28bda099127eb3cb63b7f712439dbb /recipes-core
parentd2f5cd07020fa0b2d325fcdae62e3815bd97a81e (diff)
downloadmeta-mlinux-71e48116fad0637b7694f4dadbb04b05a30cffbf.tar.gz
meta-mlinux-71e48116fad0637b7694f4dadbb04b05a30cffbf.tar.bz2
meta-mlinux-71e48116fad0637b7694f4dadbb04b05a30cffbf.zip
create separate ubifs and jffs2 fstab recipes
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/base-files/fstab-jffs2/fstab4
-rw-r--r--recipes-core/base-files/fstab-ubifs/fstab10
-rw-r--r--recipes-core/base-files/fstab-ubifs_1.0.bb17
3 files changed, 29 insertions, 2 deletions
diff --git a/recipes-core/base-files/fstab-jffs2/fstab b/recipes-core/base-files/fstab-jffs2/fstab
index 8cca798..8922faf 100644
--- a/recipes-core/base-files/fstab-jffs2/fstab
+++ b/recipes-core/base-files/fstab-jffs2/fstab
@@ -6,5 +6,5 @@ tmpfs /run tmpfs mode=0755,nodev,nosuid,stri
tmpfs /var/volatile tmpfs defaults 0 0
configfs /sys/kernel/config configfs defaults 0 0
-ubi0:config /var/config ubifs defaults 0 0
-ubi0:oem /var/oem ubifs defaults,ro 0 0
+/dev/mtdblock6 /var/config jffs2 defaults 0 0
+/dev/mtdblock7 /var/oem jffs2 defaults,ro 0 0
diff --git a/recipes-core/base-files/fstab-ubifs/fstab b/recipes-core/base-files/fstab-ubifs/fstab
new file mode 100644
index 0000000..8cca798
--- /dev/null
+++ b/recipes-core/base-files/fstab-ubifs/fstab
@@ -0,0 +1,10 @@
+rootfs / auto defaults 1 1
+proc /proc proc defaults 0 0
+devpts /dev/pts devpts mode=0620,gid=5 0 0
+usbdevfs /proc/bus/usb usbdevfs noauto 0 0
+tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
+tmpfs /var/volatile tmpfs defaults 0 0
+configfs /sys/kernel/config configfs defaults 0 0
+
+ubi0:config /var/config ubifs defaults 0 0
+ubi0:oem /var/oem ubifs defaults,ro 0 0
diff --git a/recipes-core/base-files/fstab-ubifs_1.0.bb b/recipes-core/base-files/fstab-ubifs_1.0.bb
new file mode 100644
index 0000000..cd2102a
--- /dev/null
+++ b/recipes-core/base-files/fstab-ubifs_1.0.bb
@@ -0,0 +1,17 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+inherit allarch
+PR = "r1"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+PROVIDES = "fstab"
+DEPENDS = "base-files"
+RDEPENDS_${PN} = "base-files"
+
+SRC_URI = "file://fstab"
+
+FILES_${PN} = "${sysconfdir}/fstab"
+
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}
+}