]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: Start devpts at 06 instead of 38
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 31 Aug 2016 13:22:51 +0000 (15:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Sep 2016 22:45:45 +0000 (23:45 +0100)
commit4cb06256e0d13f3f5d0b280853b900d7d342b7f2
treed521f1d36db975c8846bb9686302a980f2ac1777
parentd7b2afd41d650e30a4a1fc453cae3ab060a7da57
initscripts: Start devpts at 06 instead of 38

For example bootlogd needs devpts to be running, but bootlogd starts
at 07. Starting bootlogd early makes perfect sense, so the best option
here is to move devpts up to 06 to prevent this error message at boot:
cannot allocate pseudo tty: No such file or directory

Systems that have CONFIG_LEGACY_PTYS in the kernel will not see this
message. Since it is called "LEGACY" for a reason, fixing this in
userspace appears to be the better option here.

The devpts script does not need anything except a mounted "/dev" which
has been arranged in "S02sysfs.sh" already.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts_1.0.bb