From 5ad3a02938c1a56ddc72a5d67186a96814d9d519 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Dec 2014 17:41:36 +0100 Subject: [PATCH] Shut up a warning from udev Issue #5260. --- nixos/modules/system/boot/stage-1-init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index b62aed4ead9..4e77c54747e 100644 --- a/nixos/modules/system/boot/stage-1-init.sh +++ b/nixos/modules/system/boot/stage-1-init.sh @@ -56,9 +56,10 @@ echo # Mount special file systems. -mkdir -p /etc +mkdir -p /etc/udev touch /etc/fstab # to shut up mount touch /etc/mtab # to shut up mke2fs +touch /etc/udev/hwdb.bin # to shut up udeev touch /etc/initrd-release mkdir -p /proc mount -t proc proc /proc