mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Making /dev/pts files have group owner 'tty', so 'mesg y' will work.
svn path=/nixos/trunk/; revision=19317
This commit is contained in:
parent
6f8a3ba7c7
commit
b59cfde311
@ -74,7 +74,7 @@ mount -t tmpfs -o "mode=0755" none /dev
|
||||
mkdir -m 0777 /dev/shm
|
||||
mount -t tmpfs -o "rw,nosuid,nodev" tmpfs /dev/shm
|
||||
mkdir -m 0755 -p /dev/pts
|
||||
mount -t devpts -o mode=0600 none /dev/pts
|
||||
mount -t devpts -o mode=0600,gid=@ttyGid@ none /dev/pts
|
||||
[ -e /proc/bus/usb ] && mount -t usbfs none /proc/bus/usb # uml doesn't have usb by default
|
||||
mkdir -m 01777 -p /tmp
|
||||
mkdir -m 0755 -p /var
|
||||
|
@ -23,6 +23,7 @@ let
|
||||
src = ./stage-2-init.sh;
|
||||
isExecutable = true;
|
||||
inherit kernel activateConfiguration;
|
||||
ttyGid = config.ids.gids.tty;
|
||||
upstart = config.system.build.upstart;
|
||||
path =
|
||||
[ coreutils
|
||||
|
Loading…
Reference in New Issue
Block a user