Merge pull request #98502 from cole-h/link-dev-fd

nixos/stage-1: set up /dev/fd
This commit is contained in:
Florian Klink 2020-09-23 09:57:43 +02:00 committed by GitHub
commit 1480c1a7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,6 +218,7 @@ done
# Create device nodes in /dev. # Create device nodes in /dev.
@preDeviceCommands@ @preDeviceCommands@
echo "running udev..." echo "running udev..."
ln -sfn /proc/self/fd /dev/fd
mkdir -p /etc/systemd mkdir -p /etc/systemd
ln -sfn @linkUnits@ /etc/systemd/network ln -sfn @linkUnits@ /etc/systemd/network
mkdir -p /etc/udev mkdir -p /etc/udev