mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Create /dev/std{in,out,err} symlinks in stage-1
This used to be done by udev, but that was removed in systemd/systemd@6b2229c. The links are created by systemd at the end of stage-2, but activation scripts might need them earlier.
This commit is contained in:
parent
e371443a1e
commit
bcc808c68f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user