HLFS: Fixed /dev/console permissions.
This commit is contained in:
parent
37002aec07
commit
5bf24e6b95
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue