summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initscripts
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2016-08-31 15:22:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:53 +0100
commitea1d3ff7b5e02ee85b68b13e0be4810279a3afb7 (patch)
tree4efaaf659848f746241bd0aeef881a900c0af887 /meta/recipes-core/initscripts
parenteda43ca99536836d194c85c6cb9ce74000cbd900 (diff)
downloadpoky-ea1d3ff7b5e02ee85b68b13e0be4810279a3afb7.tar.gz
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. (From OE-Core rev: 4cb06256e0d13f3f5d0b280853b900d7d342b7f2) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts')
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 148491fb2c..8f110b0050 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -138,7 +138,7 @@ do_install () {
138 update-rc.d -r ${D} sysfs.sh start 02 S . 138 update-rc.d -r ${D} sysfs.sh start 02 S .
139 update-rc.d -r ${D} populate-volatile.sh start 37 S . 139 update-rc.d -r ${D} populate-volatile.sh start 37 S .
140 update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S . 140 update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S .
141 update-rc.d -r ${D} devpts.sh start 38 S . 141 update-rc.d -r ${D} devpts.sh start 06 S .
142 if [ "${TARGET_ARCH}" = "arm" ]; then 142 if [ "${TARGET_ARCH}" = "arm" ]; then
143 update-rc.d -r ${D} alignment.sh start 06 S . 143 update-rc.d -r ${D} alignment.sh start 06 S .
144 fi 144 fi