summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
index f5b5b9904b..4871ee94e5 100644
--- a/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
@@ -26,6 +26,10 @@ if [ -e /sys/kernel/config ] && grep -q configfs /proc/filesystems; then
26 mount -t configfs configfs /sys/kernel/config 26 mount -t configfs configfs /sys/kernel/config
27fi 27fi
28 28
29if [ -e /sys/firmware/efi/efivars ] && grep -q efivarfs /proc/filesystems; then
30 mount -t efivarfs efivarfs /sys/firmware/efi/efivars
31fi
32
29if ! [ -e /dev/zero ] && [ -e /dev ] && grep -q devtmpfs /proc/filesystems; then 33if ! [ -e /dev/zero ] && [ -e /dev ] && grep -q devtmpfs /proc/filesystems; then
30 mount -n -t devtmpfs devtmpfs /dev 34 mount -n -t devtmpfs devtmpfs /dev
31fi 35fi