Merge pull request #102938 from cruegge/dev-symlinks

nixos/stage-1: create /dev/std{in,out,err} symlinks
This commit is contained in:
Florian Klink 2020-11-25 01:57:21 +01:00 committed by GitHub
commit 5b3a952e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,9 @@ done
@preDeviceCommands@
echo "running udev..."
ln -sfn /proc/self/fd /dev/fd
ln -sfn /proc/self/fd/0 /dev/stdin
ln -sfn /proc/self/fd/1 /dev/stdout
ln -sfn /proc/self/fd/2 /dev/stderr
mkdir -p /etc/systemd
ln -sfn @linkUnits@ /etc/systemd/network
mkdir -p /etc/udev