summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2024-02-18 00:34:13 +0300
committerPatrick Williams <patrick@stwcx.xyz>2024-02-18 00:37:00 +0300
commit743fe2b132aea9581cc7113b120d6328415cb4c2 (patch)
treeff94270cac8e16ac12c00f7de503c198fc1d58c2
parentab717d446c171357e8c9946a7e126076c6602e41 (diff)
downloadopenbmc-743fe2b132aea9581cc7113b120d6328415cb4c2.tar.xz
meta-facebook: add /mnt/data to most systems
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8154fdd6f01854529e13247628b3819327cd9470
-rw-r--r--meta-facebook/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-facebook/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bbappend b/meta-facebook/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bbappend
new file mode 100644
index 0000000000..06d66e8cee
--- /dev/null
+++ b/meta-facebook/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+NOROOTFS_PERSISTENT_DIRS:append = " mnt/data"
+
+# Bletchley currently uses /mnt/data as the emmc mount location. We are in the
+# process of moving this to /mnt/emmc but need to change some code in production
+# before we can use /mnt/emmc.
+NOROOTFS_PERSISTENT_DIRS:remove:bletchley = " mnt/data"