diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4 |
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 |
27 | fi | 27 | fi |
28 | 28 | ||
29 | if [ -e /sys/firmware/efi/efivars ] && grep -q efivarfs /proc/filesystems; then | ||
30 | mount -t efivarfs efivarfs /sys/firmware/efi/efivars | ||
31 | fi | ||
32 | |||
29 | if ! [ -e /dev/zero ] && [ -e /dev ] && grep -q devtmpfs /proc/filesystems; then | 33 | if ! [ -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 |
31 | fi | 35 | fi |