3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #15895 from cerana/stage2-sysfs

stage2: if no /proc, also mount /sys
This commit is contained in:
Shea Levy 2016-06-03 11:32:57 -04:00
commit 83c2629f15

View file

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