From 86484779c7b00050704bc9dd670b377ccb0d191d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 18 Jan 2008 15:18:32 +0000 Subject: [PATCH] * Mount usbfs on /proc/bus/usb. svn path=/nixos/trunk/; revision=10220 --- boot/boot-stage-2-init.sh | 1 + system/system.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/boot/boot-stage-2-init.sh b/boot/boot-stage-2-init.sh index 9aa2aec7d9f..2c7e3532006 100644 --- a/boot/boot-stage-2-init.sh +++ b/boot/boot-stage-2-init.sh @@ -75,6 +75,7 @@ mount -t sysfs none /sys mount -t tmpfs -o "mode=0755" none /dev mkdir -m 0755 -p /dev/pts mount -t devpts none /dev/pts +mount -t usbfs none /proc/bus/usb needWritableDir /tmp 01777 needWritableDir /var 0755 needWritableDir /nix/var 0755 diff --git a/system/system.nix b/system/system.nix index 8978473c872..516e69a6ec7 100644 --- a/system/system.nix +++ b/system/system.nix @@ -244,6 +244,7 @@ rec { pkgs.time pkgs.udev pkgs.upstart + pkgs.usbutils pkgs.utillinux pkgs.wirelesstools nix