HLFS: Fixed /dev/console permissions.

This commit is contained in:
Manuel Canales Esparcia 2006-12-10 10:45:34 +00:00
parent 37002aec07
commit 5bf24e6b95

View file

@ -565,7 +565,7 @@ mk_CHROOT: mk_SUDO
@if [ ! -e \$(MOUNT_PT)/dev ]; then \\
mkdir \$(MOUNT_PT)/dev && \\
sudo mknod -m 666 \$(MOUNT_PT)/dev/null c 1 3 && \\
sudo mknod -m 666 \$(MOUNT_PT)/dev/console c 5 1 && \\
sudo mknod -m 600 \$(MOUNT_PT)/dev/console c 5 1 && \\
sudo chown -R 0:0 \$(MOUNT_PT)/dev;
fi;
@sudo sed -e 's|^ln -.. |ln -svf |' -i \$(CMDSDIR)/chapter06/*-createfiles