stage2: if no /proc, also mount /sys

This commit is contained in:
Nahum Shalman 2016-06-01 13:26:14 +00:00
parent e2cc56f98c
commit 9b0a5ced13

View file

@ -41,6 +41,8 @@ if [ ! -e /proc/1 ]; then
mount -n -t proc proc /proc
mkdir -m 0755 -p /dev
mount -t devtmpfs devtmpfs /dev
mkdir -m 0755 -p /sys
mount -t sysfs sysfs /sys
fi