mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
types *: run udevadm settle after partprobe
This commit is contained in:
1 parent
38daf3c84a
commit
689873ae4f
5 files changed
+6
-6
No files matched your search
@@ -43,9 +43,9 @@ let
|
||||
ln -sfn ${systemToInstall.config.system.build.etc}/etc/udev/rules.d /etc/udev/rules.d
|
||||
mkdir -p /dev/.mdadm
|
||||
${pkgs.systemdMinimal}/lib/systemd/systemd-udevd --daemon
|
||||
partprobe
|
||||
udevadm trigger --action=add
|
||||
udevadm settle
|
||||
partprobe
|
||||
|
||||
# populate nix db, so nixos-install doesn't complain
|
||||
export NIX_STATE_DIR=$TMPDIR/state
|
||||
|
||||
Reference in new issue
Block a user