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:
lassulus authored and GitHub committed 2026-05-16 19:15:12 +00:00
commit 6e8dc7aa0e
1 file changed
+1 -1
+1 -1
View File
@@ -124,7 +124,7 @@ let
ln -sfn /proc/self/fd/2 /dev/stderr
mkdir -p /etc/udev
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
${pkgs.systemdMinimal}/lib/systemd/systemd-udevd --daemon
partprobe