From e6cab10569eecb04097a6916683b5391e10b0f6f Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 28 Jul 2021 10:49:39 -0500 Subject: Create fstab for specific file system type --- recipes-core/base-files/fstab-at91/fstab | 10 ---------- recipes-core/base-files/fstab-at91_1.0.bb | 17 ----------------- recipes-core/base-files/fstab-jffs2/fstab | 10 ++++++++++ recipes-core/base-files/fstab-jffs2_1.0.bb | 17 +++++++++++++++++ 4 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 recipes-core/base-files/fstab-at91/fstab delete mode 100644 recipes-core/base-files/fstab-at91_1.0.bb create mode 100644 recipes-core/base-files/fstab-jffs2/fstab create mode 100644 recipes-core/base-files/fstab-jffs2_1.0.bb (limited to 'recipes-core') diff --git a/recipes-core/base-files/fstab-at91/fstab b/recipes-core/base-files/fstab-at91/fstab deleted file mode 100644 index 8cca798..0000000 --- a/recipes-core/base-files/fstab-at91/fstab +++ /dev/null @@ -1,10 +0,0 @@ -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-at91_1.0.bb b/recipes-core/base-files/fstab-at91_1.0.bb deleted file mode 100644 index cd2102a..0000000 --- a/recipes-core/base-files/fstab-at91_1.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -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} -} diff --git a/recipes-core/base-files/fstab-jffs2/fstab b/recipes-core/base-files/fstab-jffs2/fstab new file mode 100644 index 0000000..8cca798 --- /dev/null +++ b/recipes-core/base-files/fstab-jffs2/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-jffs2_1.0.bb b/recipes-core/base-files/fstab-jffs2_1.0.bb new file mode 100644 index 0000000..cd2102a --- /dev/null +++ b/recipes-core/base-files/fstab-jffs2_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} +} -- cgit v1.2.3