Merge pull request #15895 from cerana/stage2-sysfs
stage2: if no /proc, also mount /sys
This commit is contained in:
commit
83c2629f15
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue