klte-common: restorecon I/O scheduler tunables before touching them

* early-init is before the global restorecon of /sys gets run, so
  we need to set a context on these before changing attributes

Change-Id: I493a9bb0c1bd2ea83a815e07169b8b689cf76a5d
This commit is contained in:
Kevin F. Haggerty 2018-11-15 19:20:12 -07:00
parent 06b36697e1
commit dd67265c98
No known key found for this signature in database
GPG Key ID: 6D95512933112729
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ on early-init
chmod 0755 /sys/kernel/debug
# Increase max readahead size to 512 KB
restorecon --recursive /sys/block/mmcblk0/queue
write /sys/block/mmcblk0/queue/read_ahead_kb 512
write /sys/block/mmcblk0/queue/scheduler noop