mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03: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
|
mkdir -m 0777 /dev/shm
|
||||||
mount -t tmpfs -o "rw,nosuid,nodev" tmpfs /dev/shm
|
mount -t tmpfs -o "rw,nosuid,nodev" tmpfs /dev/shm
|
||||||
mkdir -m 0755 -p /dev/pts
|
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
|
[ -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 01777 -p /tmp
|
||||||
mkdir -m 0755 -p /var
|
mkdir -m 0755 -p /var
|
||||||
|
@ -23,6 +23,7 @@ let
|
|||||||
src = ./stage-2-init.sh;
|
src = ./stage-2-init.sh;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit kernel activateConfiguration;
|
inherit kernel activateConfiguration;
|
||||||
|
ttyGid = config.ids.gids.tty;
|
||||||
upstart = config.system.build.upstart;
|
upstart = config.system.build.upstart;
|
||||||
path =
|
path =
|
||||||
[ coreutils
|
[ coreutils
|
||||||
|
Loading…
Reference in New Issue
Block a user