summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh')
-rw-r--r--meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh
index 12cf53a228..c55977f2fa 100644
--- a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh
+++ b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/mmc-init.sh
@@ -23,7 +23,13 @@ mmcdev="/dev/mmcblk0"
rwfsdev="/dev/disk/by-partlabel/rwfs"
cd /
-mkdir -p "$fslist"
+
+# We want to make all the directories in $fslist, not one directory named by
+# concatonating the names with spaces
+#
+# shellcheck disable=SC2086
+mkdir -p $fslist
+
mount dev dev -tdevtmpfs
mount sys sys -tsysfs
mount proc proc -tproc