OSDN Git Service

Add fstab to fix annoying 'RLIMIT_NICE not set' errors
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 9 Jan 2015 17:03:47 +0000 (01:03 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 18:17:11 +0000 (02:17 +0800)
commit3b1393ca4cd6095031d28ceec30ba6ca24a93740
tree0011463f9769a27f84bff5a060602732ddcf8ca4
parent9cdbe12d0604720d110109fdaf5663ab8e428d93
Add fstab to fix annoying 'RLIMIT_NICE not set' errors

Originally android relies mount_all to trigger some actions.
But android-x86 doesn't use fstab before. So we trigger these
actions on fs stage directly. This works before lollipop.

However, lollipop changed the built-in class main to be
triggerred via init*.rc. So I triggerred it on fs as well.
But this is incorrect. It makes the actions in class main
run before on boot stage. That causes rlimit not being
set for services started in class main.

Fix the issue by adding a fstab and do mount_all on fs stage
like normal android system. It should correct other possible
timing issues.
device.mk
fstab.x86 [new file with mode: 0644]
init.x86.rc