mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Fix booting on EC2
The kill command in ash doesn't know the "--" syntax, but doesn't need it either.
This commit is contained in:
parent
6bd32f0a27
commit
7613ae950a
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ with pkgs.lib;
|
||||||
# Force udev to exit to prevent random "Device or resource busy
|
# Force udev to exit to prevent random "Device or resource busy
|
||||||
# while trying to open /dev/xvda" errors from fsck.
|
# while trying to open /dev/xvda" errors from fsck.
|
||||||
udevadm control --exit || true
|
udevadm control --exit || true
|
||||||
kill -9 -- -1
|
kill -9 -1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Mount all formatted ephemeral disks and activate all swap devices.
|
# Mount all formatted ephemeral disks and activate all swap devices.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue