mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
make-disk-image: don't build native /etc, only the udev rules. (#1260)
This is a very simple change that should mostly address #988 and #1062 without a new option or changing behavior.
This commit is contained in:
1 file changed
+1
-1
@@ -124,7 +124,7 @@ let
|
|||||||
ln -sfn /proc/self/fd/2 /dev/stderr
|
ln -sfn /proc/self/fd/2 /dev/stderr
|
||||||
mkdir -p /etc/udev
|
mkdir -p /etc/udev
|
||||||
mount -t efivarfs none /sys/firmware/efi/efivars
|
mount -t efivarfs none /sys/firmware/efi/efivars
|
||||||
ln -sfn ${systemToInstallNative.config.system.build.etc}/etc/udev/rules.d /etc/udev/rules.d
|
ln -sfn ${systemToInstallNative.config.environment.etc."udev/rules.d".source} /etc/udev/rules.d
|
||||||
mkdir -p /dev/.mdadm
|
mkdir -p /dev/.mdadm
|
||||||
${pkgs.systemdMinimal}/lib/systemd/systemd-udevd --daemon
|
${pkgs.systemdMinimal}/lib/systemd/systemd-udevd --daemon
|
||||||
partprobe
|
partprobe
|
||||||
|
|||||||
Reference in new issue
Block a user