diff options
authorMike Looijmans <>2016-08-31 15:22:51 +0200
committerRichard Purdie <>2016-08-31 22:00:03 +0100
commitae42f9cdbc21b55e93a9dc79ac9746a41a3b6701 (patch)
parentbcb97cf29fd3b979c18fb224ca7513df9017a76d (diff)
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 "" already. Signed-off-by: Mike Looijmans <> Signed-off-by: Richard Purdie <>
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/ b/meta/recipes-core/initscripts/
index 148491fb2c..8f110b0050 100644
--- a/meta/recipes-core/initscripts/
+++ b/meta/recipes-core/initscripts/
@@ -138,7 +138,7 @@ do_install () {
update-rc.d -r ${D} start 02 S .
update-rc.d -r ${D} start 37 S .
update-rc.d -r ${D} start 29 S .
- update-rc.d -r ${D} start 38 S .
+ update-rc.d -r ${D} start 06 S .
if [ "${TARGET_ARCH}" = "arm" ]; then
update-rc.d -r ${D} start 06 S .