mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
stage2: if no /proc, also mount /sys
This commit is contained in:
parent
e2cc56f98c
commit
9b0a5ced13
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